{"raw_statement":[{"iden":"problem statement","content":"There is a $3 \\times 3$ grid. Let $(i, j)$ denote the cell at the $i$\\-th row from the top and $j$\\-th column from the left $(1 \\leq i, j \\leq 3)$. Cell $(i, j)$ contains an integer $A_{i,j}$. It is guaranteed that $\\sum_{i=1}^3 \\sum_{j=1}^3 A_{i,j}$ is odd. Additionally, all cells are initially painted white.\nTakahashi and Aoki will play a game using this grid. Takahashi goes first, and they take turns performing the following operation:\n\n*   Choose a cell $(i, j)$ $(1\\leq i, j \\leq 3)$ that is still painted white (it can be shown that such a cell always exists at the time of the operation). The player performing the operation scores $A_{i,j}$ points. Then, if the player is Takahashi, he paints the cell $(i, j)$ red; if the player is Aoki, he paints it blue.\n\nAfter each operation, the following checks are made:\n\n*   Check if there are three consecutive cells painted the same color (red or blue) in any row, column, or diagonal. If such a sequence exists, the game ends immediately, and the player whose color forms the sequence wins.\n*   Check if there are white cells left. If no white cells remain, the game ends, and the player with the higher total score wins.\n\nIt can be shown that the game will always end after a finite number of moves, and either Takahashi or Aoki will win. Determine which player wins if both play optimally for victory."},{"iden":"constraints","content":"*   $|A_{i,j}| \\leq 10^9$\n*   $\\sum_{i=1}^3 \\sum_{j=1}^3 A_{i,j}$ is odd.\n*   All input values are integers."},{"iden":"input","content":"The input is given from Standard Input in the following format:\n\n$A_{1,1}$ $A_{1,2}$ $A_{1,3}$\n$A_{2,1}$ $A_{2,2}$ $A_{2,3}$\n$A_{3,1}$ $A_{3,2}$ $A_{3,3}$"},{"iden":"sample input 1","content":"0 0 0\n0 1 0\n0 0 0"},{"iden":"sample output 1","content":"Takahashi\n\nIf Takahashi chooses cell $(2,2)$ in his first move, no matter how Aoki plays afterward, Takahashi can always act to prevent three consecutive blue cells. If three consecutive red cells are formed, Takahashi wins. If the game ends without three consecutive red cells, at that point, Takahashi has scored $1$ point and Aoki $0$ points, so Takahashi wins either way."},{"iden":"sample input 2","content":"\\-1 1 0\n-4 -2 -5\n-4 -1 -5"},{"iden":"sample output 2","content":"Aoki"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}