C. Who Shot First?
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

Han and Chewbacca were enjoying a succulent Tatooinian meal at the respectable Mos Eisley cantina. While heading to the bathroom, Han is accosted by the bounty hunter Greedo, looking to claim the price on Hans' head. They take a seat at a booth and discuss the situation, at Greedo's gunpoint. Then, as we all know, Greedo eloquently states "Maclunkey" and two shots are fired immediately after. Greedo is killed, but it is clear that one shot rang out before the other. Who shot first?

Han and Greedo were sitting on horizontal couches directly across from each other at a distance of $$$1$$$ imperial meter, or $$$1000$$$ imperial millimeters apart. Since the cantina can get quite violent, the owners installed laser detectors on and around these couches. These sensors can tell the exact landing time and landing place of a laser shot.

We know Han's shot follows a straight line and lands on Greedo, who is sitting at $$$(0,1000)$$$. We also know Greedo's horrible aim caused his shot to land either to the left or right of Han, who is sitting at $$$(0,0)$$$. Greedo's shot always lands after Han's due to traveling a longer distance. The cantina provides you with the time difference between these shots, i.e., the number of galactic milliseconds that it takes for Greedo's shot to land after Han's shot lands.

Additionally, Han uses a DL-44 heavy-blaster pistol, while Greedo has a DT-12 model. These blasters fire with two different velocities, but they can be tuned to the owner's preference.

Diagram representing the first sample test case
Input

You are given 4 pieces of data on one line:

First, an integer $$$x \: (-1000 \le x \le 1000; x \ne 0)$$$ — the location of Greedo's shot on Han's couch, in imperial millimeters.

Next, an integer $$$t \: (1 \le t \le 1000)$$$ — the number of galactic milliseconds between Han's and Greedos' shots landing (Greedo's always lands after).

Finally, two integers $$$v_h$$$ and $$$v_g \: (1 \le v_H, v_G \le 1000)$$$ — the speed (in imperial millimeters per galactic millisecond) of the lasers fired from Han's and Greedo's blasters, respectively.

It is guaranteed that Han and Greedo's firing times are at least $$$10^{-6}$$$ galactic milliseconds apart.

Output

Determine who shot first. Print "Han" if Han shot first, and "Greedo" otherwise (any mix of capitalizations works, e.g. all of "han", "Han", "hAn", and "HAN" would be accepted).

Examples
Input
-10 20 30 40
Output
Han
Input
1 50 60 15
Output
Greedo
Input
300 40 77 20
Output
Han