static void solve ( ) throws Exception {
  String s [ ] = bf . readLine ( ) . trim ( ) . split ( "\\s+" ) ;
  n = Integer . parseInt ( s [ 0 ] ) ;
  w = Double . parseDouble ( s [ 1 ] ) ;
  arr = new Double [ 2 * n ] ;
  s = bf . readLine ( ) . trim ( ) . split ( "\\s+" ) ;
  for ( int i = 0 ;
  i < ( 2 * n ) ;
  i ++ ) arr [ i ] = Double . parseDouble ( s [ i ] ) ;
  Arrays . sort ( arr ) ;
  double ans = arr [ 0 ] ;
  double l = 0 , r = w ;
  for ( int i = 0 ;
  i < 100 ;
  i ++ ) {
    double mid = l + ( r - l ) / 2 ;
    if ( f ( mid ) ) {
      ans = mid ;
      l = mid ;
    }
    else r = mid ;
  }
  str . append ( ans + "\n" ) ;
}

static void solve ( ) throws Exception { String s [ ] = bf . readLine ( ) . trim ( ) . split ( " \\ s + " ) ; n = Integer . parseInt ( s [ 0 ] ) ; w = Double . parseDouble ( s [ 1 ] ) ; arr = new Double [ 2 * n ] ; s = bf . readLine ( ) . trim ( ) . split ( " \\ s + " ) ; for ( int i = 0 ; i < ( 2 * n ) ; i ++ ) arr [ i ] = Double . parseDouble ( s [ i ] ) ; Arrays . sort ( arr ) ; double ans = arr [ 0 ] ; double l = 0 , r = w ; for ( int i = 0 ; i < 100 ; i ++ ) { double mid = l + ( r - l ) / 2 ; if ( f ( mid ) ) { ans = mid ; l = mid ; } else r = mid ; } str . append ( ans + " \n " ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters) (throws (type_identifier)) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) dimensions: (dimensions) value: (method_invocation object: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list (string_literal))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (decimal_integer_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (array_access array: (identifier) index: (decimal_integer_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (array_creation_expression type: (type_identifier) dimensions: (dimensions_expr (binary_expression left: (decimal_integer_literal) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (method_invocation object: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list)) name: (identifier) arguments: (argument_list (string_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: (parenthesized_expression (binary_expression left: (decimal_integer_literal) right: (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))))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (array_access array: (identifier) index: (decimal_integer_literal)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal)) declarator: (variable_declarator name: (identifier) value: (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: (decimal_integer_literal)) update: (update_expression (identifier)) body: (block (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (decimal_integer_literal))))) (if_statement condition: (parenthesized_expression (method_invocation name: (identifier) arguments: (argument_list (identifier)))) consequence: (block (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (string_literal)))))))