static int [ ] toIntArray ( String line ) {
  String [ ] p = line . trim ( ) . split ( "\\s+" ) ;
  int [ ] out = new int [ p . length ] ;
  for ( int i = 0 ;
  i < out . length ;
  i ++ ) out [ i ] = Integer . valueOf ( p [ i ] ) ;
  return out ;
}

static int [ ] toIntArray ( String line ) { String [ ] p = line . trim ( ) . split ( " \\ s + " ) ; int [ ] out = new int [ p . length ] ; for ( int i = 0 ; i < out . length ; i ++ ) out [ i ] = Integer . valueOf ( p [ i ] ) ; return out ; }
(method_declaration (modifiers) type: (array_type element: (integral_type) dimensions: (dimensions)) name: (identifier) parameters: (formal_parameters (formal_parameter type: (type_identifier) name: (identifier))) body: (block (local_variable_declaration type: (array_type element: (type_identifier) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list (string_literal))))) (local_variable_declaration type: (array_type element: (integral_type) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (integral_type) dimensions: (dimensions_expr (field_access object: (identifier) field: (identifier)))))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (field_access object: (identifier) field: (identifier))) update: (update_expression (identifier)) body: (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (identifier))))))) (return_statement (identifier))))