#abc210b. [abc210_b]Bouzu Mekuri
[abc210_b]Bouzu Mekuri
Problem Statement
We have a deck of cards.
Each of these cards is good or bad.
Using this deck, Takahashi and Aoki will play a game against each other.
In the game, the players alternately draw the topmost card and eat it.
The player who first gets to eat a bad card loses the game. (Here, it is guaranteed that the deck contains at least one bad card.)
You are given a string consisting of 0
and 1
. For each ,
- if the -th character of is
0
, it means that the -th card from the top of the deck is good; - if the -th character of is
1
, it means that the -th card from the top of the deck is bad.
Which player will lose when Takahashi goes first in the game?
Constraints
- is an integer.
- is a string of length consisting of
0
and1
. - contains at least one occurrence of
1
.
Input
Input is given from Standard Input in the following format:
Output
Print the name of the player who will lose when Takahashi goes first in the game: Takahashi
or Aoki
.
Sample Input 1
5
00101
Sample Output 1
Takahashi
First, Takahashi will eat a good card. Next, Aoki will eat a good card. Then, Takahashi will eat a bad card.
Thus, Takahashi will be the first to eat a bad card, so we should print Takahashi
.
Sample Input 2
3
010
Sample Output 2
Aoki