| CodeSmash 2021 by RAPL |
|---|
| Finished |
Farha loves to play hopscotch games. But if you do not know how to play, don't worry!
Suppose there is a large $$$10 \times 10$$$ grid, where each cell is numbered from $$$1$$$ to $$$100$$$. Initially, she is in the cell marked $$$1$$$ with a dice (a dice is a cube that has six faces containing distinct integers from $$$1$$$ to $$$6$$$) that she has to throw and move forward in the cells until she reaches $$$100^{th}$$$. But it has some ladders to climb up and some snakes to fall down. It's similar to what we see in a ludo board game!
The game continues in the following way:
Farha throws the dice and gets a number $$$k$$$. If she is at $$$i^{th}$$$ cell, she will reach at $$$(i+k)^{th}$$$ cell. In the continuation, she may catch a ladder top/bottom, be bitten by a snake or she may win reaching $$$100^{th}$$$ cell.
Currently, Farha is at $$$\textbf{94}$$$$$$^{th}$$$ cell. At this point, she'll throw the dice for once. And you'll be given a number $$$k$$$ that she is obtained by throwing the dice. Now, your task is to tell the condition of her after moving $$$k$$$ steps forward.
The first (and only) line contains one integer $$$k$$$ $$$(1 \le k \le 6)$$$.
If she reaches $$$100^{th}$$$, print "Yay! Farha has won the game. She is now at 100."
If she catches a ladder top/bottom, print "Farha is on ladder."
If she is bitten by a snake, print "Alas! Farha is bitten by snake. She is now at X." Here, X is the cell number she belongs to after she has been bitten.
Otherwise, print "Nothing happened to her."
Do not print quotation marks.
1
Alas! Farha is bitten by snake. She is now at 75.
6
Yay! Farha has won the game. She is now at 100.
5
Farha is on ladder.
| Name |
|---|


