public static void main ( String [ ] $ ) {
  long n = scanner . nextLong ( ) , x = 1 ;
  int depth = Long . numberOfTrailingZeros ( Long . highestOneBit ( n ) ) & 1 ;
  boolean turn = false ;
  while ( n >= x ) x = x * 2 + ( ( turn = ! turn ) ? 1 - depth : depth ) ;
  System . out . println ( turn ? "Aoki" : "Takahashi" ) ;
}

public static void main ( String [ ] $ ) { long n = scanner . nextLong ( ) , x = 1 ; int depth = Long . numberOfTrailingZeros ( Long . highestOneBit ( n ) ) & 1 ; boolean turn = false ; while ( n >= x ) x = x * 2 + ( ( turn = ! turn ) ? 1 - depth : depth ) ; System . out . println ( turn ? " Aoki " : " Takahashi " ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))) right: (decimal_integer_literal)))) (local_variable_declaration type: (boolean_type) declarator: (variable_declarator name: (identifier) value: (false))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) body: (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (decimal_integer_literal)) right: (parenthesized_expression (ternary_expression condition: (parenthesized_expression (assignment_expression left: (identifier) right: (unary_expression operand: (identifier)))) consequence: (binary_expression left: (decimal_integer_literal) right: (identifier)) alternative: (identifier))))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (ternary_expression condition: (identifier) consequence: (string_literal) alternative: (string_literal)))))))