private static TestCase readFromInput ( ) {
  Scanner sc = new Scanner ( System . in ) ;
  int N = sc . nextInt ( ) ;
  switch ( N ) {
    case 1 : {
      sc . close ( ) ;
      return new TestCase ( N ) ;
    }
    case 2 : {
      int A = sc . nextInt ( ) ;
      int B = sc . nextInt ( ) ;
      sc . close ( ) ;
      return new TestCase ( N , A , B ) ;
    }
    default : {
      throw unknownN ( N ) ;
    }
  }
}

private static TestCase readFromInput ( ) { Scanner sc = new Scanner ( System . in ) ; int N = sc . nextInt ( ) ; switch ( N ) { case 1 : { sc . close ( ) ; return new TestCase ( N ) ; } case 2 : { int A = sc . nextInt ( ) ; int B = sc . nextInt ( ) ; sc . close ( ) ; return new TestCase ( N , A , B ) ; } default : { throw unknownN ( N ) ; } } }
(method_declaration (modifiers) type: (type_identifier) name: (identifier) parameters: (formal_parameters) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (field_access object: (identifier) field: (identifier)))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (switch_expression condition: (parenthesized_expression (identifier)) body: (switch_block (switch_block_statement_group (switch_label (decimal_integer_literal)) (block (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (return_statement (object_creation_expression type: (type_identifier) arguments: (argument_list (identifier)))))) (switch_block_statement_group (switch_label (decimal_integer_literal)) (block (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: (identifier) name: (identifier) arguments: (argument_list))) (return_statement (object_creation_expression type: (type_identifier) arguments: (argument_list (identifier) (identifier) (identifier)))))) (switch_block_statement_group (switch_label) (block (throw_statement (method_invocation name: (identifier) arguments: (argument_list (identifier))))))))))