Problem L
Snakes and Masters
You and your friends are playing a game of Snakes and
Masters. The goal of the game is to land in a specific square
to win the game. From where you are, it requires
Input
The input consists of a single integer
Output
Output mod
Sample Input 1 | Sample Output 1 |
---|---|
2 |
2 |
Sample Input 2 | Sample Output 2 |
---|---|
4 |
5 |