Hanako and Jiro play a stone game with N heaps of stones. They take turns, and Hanako moves first.
Neither player may take more stones than the chosen heap holds, and every turn must remove at least one stone. The player who takes the last stone wins.
Both players play optimally. Determine who wins.
The first line contains three integers N, A, and B, separated by spaces. N is the number of heaps. A and B are the largest numbers of stones that Hanako and Jiro can take in one turn.
Each of the next N lines contains one integer Si, the number of stones in the i-th heap when the game starts.
Print "Hanako" on one line if Hanako wins, or "Jiro" if Jiro wins.