private static TestCase readFromInput ( ) {
  Scanner sc = new Scanner ( System . in ) ;
  int N = sc . nextInt ( ) ;
  int T = sc . nextInt ( ) ;
  List < Integer > c = new ArrayList < > ( ) ;
  List < Integer > t = new ArrayList < > ( ) ;
  for ( int i = 0 ;
  i < N ;
  ++ i ) {
    c . add ( sc . nextInt ( ) ) ;
    t . add ( sc . nextInt ( ) ) ;
  }
  return new TestCase ( N , T , c , t ) ;
}

private static TestCase readFromInput ( ) { Scanner sc = new Scanner ( System . in ) ; int N = sc . nextInt ( ) ; int T = sc . nextInt ( ) ; List < Integer > c = new ArrayList < > ( ) ; List < Integer > t = new ArrayList < > ( ) ; for ( int i = 0 ; i < N ; ++ i ) { c . add ( sc . nextInt ( ) ) ; t . add ( sc . nextInt ( ) ) ; } return new TestCase ( N , T , c , t ) ; }
(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)))) (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: (generic_type (type_identifier) (type_arguments (type_identifier))) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (generic_type (type_identifier) (type_arguments)) arguments: (argument_list)))) (local_variable_declaration type: (generic_type (type_identifier) (type_arguments (type_identifier))) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (generic_type (type_identifier) (type_arguments)) 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: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))))))) (return_statement (object_creation_expression type: (type_identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier))))))