Vova is again playing some computer game, now an RPG. In the game Vova's character received a quest: to slay the fearsome monster called Modcrab.

After two hours of playing the game Vova has tracked the monster and analyzed its tactics. The Modcrab has *h*<sub class="lower-index">2</sub> health points and an attack power of *a*<sub class="lower-index">2</sub>. Knowing that, Vova has decided to buy a lot of strong healing potions and to prepare for battle.

Vova's character has *h*<sub class="lower-index">1</sub> health points and an attack power of *a*<sub class="lower-index">1</sub>. Also he has a large supply of healing potions, each of which increases his current amount of health points by *c*<sub class="lower-index">1</sub> when Vova drinks a potion. All potions are identical to each other. It is guaranteed that *c*<sub class="lower-index">1</sub> &gt; *a*<sub class="lower-index">2</sub>.

The battle consists of multiple phases. In the beginning of each phase, Vova can either attack the monster (thus reducing its health by *a*<sub class="lower-index">1</sub>) or drink a healing potion (it increases Vova's health by *c*<sub class="lower-index">1</sub>; Vova's health can exceed *h*<sub class="lower-index">1</sub>). Then, if the battle is not over yet, the Modcrab attacks Vova, reducing his health by *a*<sub class="lower-index">2</sub>. The battle ends when Vova's (or Modcrab's) health drops to 0 or lower. It is possible that the battle ends in a middle of a phase after Vova's attack.

Of course, Vova wants to win the fight. But also he wants to do it as fast as possible. So he wants to make up a strategy that will allow him to win the fight after the minimum possible number of phases.

Help Vova to make up a strategy! You may assume that Vova never runs out of healing potions, and that he can always win.
The first line contains three integers *h*<sub class="lower-index">1</sub>, *a*<sub class="lower-index">1</sub>, *c*<sub class="lower-index">1</sub> (1 ≤ *h*<sub class="lower-index">1</sub>, *a*<sub class="lower-index">1</sub> ≤ 100, 2 ≤ *c*<sub class="lower-index">1</sub> ≤ 100) — Vova's health, Vova's attack power and the healing power of a potion.

The second line contains two integers *h*<sub class="lower-index">2</sub>, *a*<sub class="lower-index">2</sub> (1 ≤ *h*<sub class="lower-index">2</sub> ≤ 100, 1 ≤ *a*<sub class="lower-index">2</sub> &lt; *c*<sub class="lower-index">1</sub>) — the Modcrab's health and his attack power.
In the first example Vova's character must heal before or after his first attack. Otherwise his health will drop to zero in 2 phases while he needs 3 strikes to win.

In the second example no healing needed, two strikes are enough to get monster to zero health and win with 6 health left.
10 6 100
17 5
4
STRIKE
HEAL
STRIKE
STRIKE
11 6 100
12 5
2
STRIKE
STRIKE
25 27 91
10 87
1
STRIKE
79 4 68
9 65
21
STRIKE
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
STRIKE
STRIKE
9 1 20
4 19
53
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
STRIKE
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
STRIKE
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
STRIKE
STRIKE
1 1 100
100 99
9901
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
H...
6 6 100
12 5
2
STRIKE
STRIKE
9 76 78
86 69
9
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
HEAL
STRIKE
STRIKE
62 21 10
47 2
3
STRIKE
STRIKE
STRIKE
50 1 2
70 1
90
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEA...
4 1 2
10 1
16
STRIKE
STRIKE
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
STRIKE
1 1 2
3 1
5
HEAL
STRIKE
HEAL
STRIKE
STRIKE
14 5 2
99 1
26
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
HEAL
STRIKE
STRIKE
20 1 5
8 4
17
STRIKE
STRIKE
STRIKE
STRIKE
HEAL
STRIKE
HEAL
HEAL
HEAL
HEAL
STRIKE
HEAL
HEAL
HEAL
HEAL
STRIKE
STRIKE
12 12 19
83 8
11
STRIKE
HEAL
STRIKE
HEAL
STRIKE
STRIKE
HEAL
STRIKE
HEAL
STRIKE
STRIKE
5 12 11
4 2
1
STRIKE
34 14 18
74 14
16
STRIKE
STRIKE
HEAL
HEAL
HEAL
STRIKE
HEAL
HEAL
HEAL
STRIKE
HEAL
HEAL
HEAL
HEAL
STRIKE
STRIKE
import math



def main_function():
    h_1, a_1, c_1 = [int(i) for i in input().split(" ")]
    h_2, a_2 = [int(i) for i in input().split(" ")]
    strikes_to_monster = math.ceil(h_2 / a_1)
    strikes_to_man = math.ceil(h_1 / a_2)
    difference = strikes_to_monster - strikes_to_man
    if difference > 0:
        x = math.ceil((h_2 * a_2) / a_1 - h_1)
        n = math.ceil(x / c_1)
        print(strikes_to_monster + n)
        for i in range(strikes_to_monster):
            print("STRIKE")
        for i in range(n):
            print("HEAL")

    else:
        print(strikes_to_monster)
        for i in range(strikes_to_monster):
            print("STRIKE")


main_function()