public static void main ( String [ ] args ) throws IOException {
  PrintWriter out = new PrintWriter ( new File ( "output.txt" ) ) ;
  Scanner sc = local ? new Scanner ( new FileReader ( "E:\\dev\\project\\JoshOJ\\src\\input" ) ) : new Scanner ( new FileInputStream ( new File ( "input.txt" ) ) ) ;
  while ( sc . ready ( ) ) {
    handle ( sc , out ) ;
  }
  out . flush ( ) ;
  out . close ( ) ;
}

public static void main ( String [ ] args ) throws IOException { PrintWriter out = new PrintWriter ( new File ( " output . txt " ) ) ; Scanner sc = local ? new Scanner ( new FileReader ( " E : \\ dev \\ project \\ JoshOJ \\ src \\ input " ) ) : new Scanner ( new FileInputStream ( new File ( " input . txt " ) ) ) ; while ( sc . ready ( ) ) { handle ( sc , out ) ; } out . flush ( ) ; out . close ( ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) (throws (type_identifier)) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (object_creation_expression type: (type_identifier) arguments: (argument_list (string_literal))))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (ternary_expression condition: (identifier) consequence: (object_creation_expression type: (type_identifier) arguments: (argument_list (object_creation_expression type: (type_identifier) arguments: (argument_list (string_literal))))) alternative: (object_creation_expression type: (type_identifier) arguments: (argument_list (object_creation_expression type: (type_identifier) arguments: (argument_list (object_creation_expression type: (type_identifier) arguments: (argument_list (string_literal)))))))))) (while_statement condition: (parenthesized_expression (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) body: (block (expression_statement (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier)))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))