Stones#5306

Stones

1 second
128 megabytes
Very easy

There are stones on the table. Two players take turns making moves. On each turn, a player can take:

A move can only be made if there are enough stones remaining. The player who cannot make a move loses the game.

Input

The input consists of a single integer (0 < n \le 100).

Output

Print a single integer or — the number of the player who will win if both play optimally.

Examples

Example 1

Loading
Loading