public static void main ( String [ ] args ) {
  Scanner in = new Scanner ( System . in ) ;
  int V1 = in . nextInt ( ) ;
  int V2 = in . nextInt ( ) ;
  int V3 = in . nextInt ( ) ;
  int Vm = in . nextInt ( ) ;
  for ( int x = V1 ;
  x <= 2 * V1 ;
  x ++ ) {
    for ( int y = V2 ;
    y <= 2 * V2 ;
    y ++ ) {
      if ( x <= y ) continue ;
      for ( int z = V3 ;
      z <= 2 * V3 ;
      z ++ ) {
        if ( y <= z ) continue ;
        if ( z < Vm ) continue ;
        if ( z > 2 * Vm ) continue ;
        if ( y <= 2 * Vm ) continue ;
        System . out . println ( x + "\n" + y + "\n" + z ) ;
        return ;
      }
    }
  }
  System . out . println ( "-1" ) ;
}

public static void main ( String [ ] args ) { Scanner in = new Scanner ( System . in ) ; int V1 = in . nextInt ( ) ; int V2 = in . nextInt ( ) ; int V3 = in . nextInt ( ) ; int Vm = in . nextInt ( ) ; for ( int x = V1 ; x <= 2 * V1 ; x ++ ) { for ( int y = V2 ; y <= 2 * V2 ; y ++ ) { if ( x <= y ) continue ; for ( int z = V3 ; z <= 2 * V3 ; z ++ ) { if ( y <= z ) continue ; if ( z < Vm ) continue ; if ( z > 2 * Vm ) continue ; if ( y <= 2 * Vm ) continue ; System . out . println ( x + " \n " + y + " \n " + z ) ; return ; } } } System . out . println ( " - 1" ) ; }
(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: (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: (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)))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (identifier))) condition: (binary_expression left: (identifier) right: (binary_expression left: (decimal_integer_literal) right: (identifier))) update: (update_expression (identifier)) body: (block (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (identifier))) condition: (binary_expression left: (identifier) right: (binary_expression left: (decimal_integer_literal) right: (identifier))) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (continue_statement)) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (identifier))) condition: (binary_expression left: (identifier) right: (binary_expression left: (decimal_integer_literal) right: (identifier))) update: (update_expression (identifier)) body: (block (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (continue_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (continue_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (decimal_integer_literal) right: (identifier)))) consequence: (continue_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (decimal_integer_literal) right: (identifier)))) consequence: (continue_statement)) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (string_literal)) right: (identifier)) right: (string_literal)) right: (identifier))))) (return_statement))))))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (string_literal))))))