public static void main ( String [ ] args ) throws IOException {
  int n = readInt ( ) , q = readInt ( ) , a [ ] = new int [ n ] ;
  Set < Integer > s = new HashSet ( ) ;
  for ( int i = 0 ;
  i < n ;
  i ++ ) a [ i ] = readInt ( ) ;
  edge [ ] arr = new edge [ n ] ;
  for ( int i = 0 ;
  i < n ;
  i ++ ) {
    int b = readInt ( ) ;
    arr [ i ] = new edge ( i , b , a [ i ] ) ;
    s . add ( i ) ;
  }
  Arrays . sort ( arr ) ;
  Map < Integer , Integer > mp = new HashMap ( ) ;
  for ( int i = 0 ;
  i < n ;
  i ++ ) {
    mp . put ( arr [ i ] . v , i ) ;
  }
  int cur = 0 ;
  ;
}

public static void main ( String [ ] args ) throws IOException { int n = readInt ( ) , q = readInt ( ) , a [ ] = new int [ n ] ; Set < Integer > s = new HashSet ( ) ; for ( int i = 0 ; i < n ; i ++ ) a [ i ] = readInt ( ) ; edge [ ] arr = new edge [ n ] ; for ( int i = 0 ; i < n ; i ++ ) { int b = readInt ( ) ; arr [ i ] = new edge ( i , b , a [ i ] ) ; s . add ( i ) ; } Arrays . sort ( arr ) ; Map < Integer , Integer > mp = new HashMap ( ) ; for ( int i = 0 ; i < n ; i ++ ) { mp . put ( arr [ i ] . v , i ) ; } int cur = 0 ; ; }
(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: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list))) declarator: (variable_declarator name: (identifier) dimensions: (dimensions) value: (array_creation_expression type: (integral_type) dimensions: (dimensions_expr (identifier))))) (local_variable_declaration type: (generic_type (type_identifier) (type_arguments (type_identifier))) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_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: (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (method_invocation name: (identifier) arguments: (argument_list))))) (local_variable_declaration type: (array_type element: (type_identifier) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (type_identifier) dimensions: (dimensions_expr (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: (identifier)) update: (update_expression (identifier)) body: (block (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (method_invocation name: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (identifier)) right: (object_creation_expression type: (type_identifier) arguments: (argument_list (identifier) (identifier) (array_access array: (identifier) index: (identifier)))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))) (local_variable_declaration type: (generic_type (type_identifier) (type_arguments (type_identifier) (type_identifier))) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_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: (identifier) name: (identifier) arguments: (argument_list (field_access object: (array_access array: (identifier) index: (identifier)) field: (identifier)) (identifier)))))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal)))))