public static void main ( String [ ] args ) {
  int cases = sc . nextInt ( ) ;
  for ( int caseNum = 1 ;
  caseNum <= cases ;
  caseNum ++ ) {
    System . out . print ( "Case #" + caseNum + ": " ) ;
    int X = sc . nextInt ( ) , Y = sc . nextInt ( ) ;
    boolean [ ] [ ] vis = new boolean [ X ] [ Y ] ;
    int [ ] [ ] dis = new int [ 2 ] [ 2 ] ;
    for ( int i = 0 ;
    i < 2 ;
    i ++ ) {
      dis [ i ] [ 0 ] = sc . nextInt ( ) ;
      dis [ i ] [ 1 ] = sc . nextInt ( ) ;
    }
    int x = sc . nextInt ( ) ;
    int y = sc . nextInt ( ) ;
    System . out . println ( recurse ( x , y , vis , dis ) ) ;
  }
}

public static void main ( String [ ] args ) { int cases = sc . nextInt ( ) ; for ( int caseNum = 1 ; caseNum <= cases ; caseNum ++ ) { System . out . print ( " Case ▁ # " + caseNum + " : ▁ " ) ; int X = sc . nextInt ( ) , Y = sc . nextInt ( ) ; boolean [ ] [ ] vis = new boolean [ X ] [ Y ] ; int [ ] [ ] dis = new int [ 2 ] [ 2 ] ; for ( int i = 0 ; i < 2 ; i ++ ) { dis [ i ] [ 0 ] = sc . nextInt ( ) ; dis [ i ] [ 1 ] = sc . nextInt ( ) ; } int x = sc . nextInt ( ) ; int y = sc . nextInt ( ) ; System . out . println ( recurse ( x , y , vis , dis ) ) ; } }
(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)))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (identifier)) update: (update_expression (identifier)) body: (block (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (string_literal) right: (identifier)) right: (string_literal))))) (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: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (array_type element: (boolean_type) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (boolean_type) dimensions: (dimensions_expr (identifier)) dimensions: (dimensions_expr (identifier))))) (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 (decimal_integer_literal)) dimensions: (dimensions_expr (decimal_integer_literal))))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (decimal_integer_literal)) update: (update_expression (identifier)) body: (block (expression_statement (assignment_expression left: (array_access array: (array_access array: (identifier) index: (identifier)) index: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (array_access array: (array_access array: (identifier) index: (identifier)) index: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (method_invocation name: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier))))))))))