100 atcoder#ABC190A. [ABC190A] Very Very Primitive Game
[ABC190A] Very Very Primitive Game
Score : points
Problem Statement
Takahashi and Aoki will play a game against each other. Initially, Takahashi and Aoki have and candies, respectively. They will alternately do the operation below. Takahashi goes first if , and Aoki goes first if .
- Eat one of the candies he has.
The person who first becomes unable to do the operation loses. Which person will win?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
If Takahashi will win, print Takahashi
; if Aoki will win, print Aoki
.
2 1 0
Takahashi
Initially, Takahashi and Aoki have and candy(ies), respectively. The game will proceed as follows:
- Takahashi eats his candy.
- Aoki eats his candy.
- Takahashi eats his candy.
- Aoki has no more candies, so Takahashi wins.
2 2 0
Aoki
2 2 1
Takahashi