Step on the Foot

No attempts yetTime limit1sMemory limit128 MB

Problem

Kozik and Adrian are playing a foot-stepping game. They stand on a straight line facing each other, separated by some distance. They then take turns moving forward toward each other. A single move advances a player by the length of their own foot, and the player who steps on the opponent's foot wins.

The exact rules are as follows. Let dd be the current distance between the two players and let ff be the foot length of the player whose turn it is.

  • If dfd \ge f, that player takes a full step forward and the distance between them becomes dfd - f. The turn then passes to the other player.
  • If d<fd < f, that player's step lands on the opponent's foot, so that player wins and the game ends.

Kozik always moves first because he is older. Given the initial distance and each player's foot length, determine who wins.

Input

The first and only line of standard input contains three integers xx, kk, aa (1k,ax1091 \le k, a \le x \le 10^9), denoting the initial distance between the two players, the length of Kozik's foot, and the length of Adrian's foot, respectively.

Output

Print a single integer on the first line of standard output. Print 11 if Kozik wins and 00 if Adrian wins.