Jenga game#9056

Jenga game

1 secondo
128 megabyte
Molto facile

To impress Lorna Campbell, Johnny English did not think of anything better than to beat her in spy jenga.

Jenga is a tall tower made of wooden blocks. Each row contains three identical rectangular bars, forming a square. The uppermost row is formed by bars standing across, below - along, below - again across, and so on.

In Spy Jenga, players take turns taking out one bar from a row. In this case, it is not allowed to remove the bars from the upper and lower row. After the block is taken out, it is deposited and does not return to the tower in the future. The tower falls if two adjacent bars are removed from the row (we believe that the tower cannot fall after a sloppy move, due to the fact that the players are true professionals). The player who makes a move that causes the tower to fall loses.

So, Johnny has a tower of levels in front of him, and a very smart opponent who does not want to give up. Print who will win if Johnny starts first.

Input

One positive integer (3 \le n \le 10^7) — the height of the tower.

Output

Print the line Johnny if Johnny wins, otherwise print Lorna.

prb9056.gif

Esempi

Esempio 1

Loading
Loading