public static void main ( String [ ] args ) {
  Scanner sc = new Scanner ( System . in ) ;
  int x = sc . nextInt ( ) ;
  int y = sc . nextInt ( ) ;
  int x1 = 0 ;
  int y1 = 0 ;
  int x2 = 0 ;
  int y2 = 0 ;
  if ( x < 0 ) x1 = ( int ) ( - 1 * Math . abs ( x ) + - 1 * Math . abs ( y ) ) ;
  else x1 = ( int ) ( Math . abs ( x ) + Math . abs ( y ) ) ;
  y1 = 0 ;
  if ( y < 0 ) y2 = ( int ) ( - 1 * Math . abs ( x ) + - 1 * Math . abs ( y ) ) ;
  else y2 = ( int ) ( Math . abs ( x ) + Math . abs ( y ) ) ;
  x2 = 0 ;
  if ( x1 < x2 ) System . out . print ( x1 + " " + y1 + " " + x2 + " " + y2 ) ;
  else System . out . print ( x2 + " " + y2 + " " + x1 + " " + y1 ) ;
}

public static void main ( String [ ] args ) { Scanner sc = new Scanner ( System . in ) ; int x = sc . nextInt ( ) ; int y = sc . nextInt ( ) ; int x1 = 0 ; int y1 = 0 ; int x2 = 0 ; int y2 = 0 ; if ( x < 0 ) x1 = ( int ) ( - 1 * Math . abs ( x ) + - 1 * Math . abs ( y ) ) ; else x1 = ( int ) ( Math . abs ( x ) + Math . abs ( y ) ) ; y1 = 0 ; if ( y < 0 ) y2 = ( int ) ( - 1 * Math . abs ( x ) + - 1 * Math . abs ( y ) ) ; else y2 = ( int ) ( Math . abs ( x ) + Math . abs ( y ) ) ; x2 = 0 ; if ( x1 < x2 ) System . out . print ( x1 + " ▁ " + y1 + " ▁ " + x2 + " ▁ " + y2 ) ; else System . out . print ( x2 + " ▁ " + y2 + " ▁ " + x1 + " ▁ " + y1 ) ; }
(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: (decimal_integer_literal))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (integral_type) value: (parenthesized_expression (binary_expression left: (binary_expression left: (unary_expression operand: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (unary_expression operand: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))))) alternative: (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (integral_type) value: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (integral_type) value: (parenthesized_expression (binary_expression left: (binary_expression left: (unary_expression operand: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))) right: (binary_expression left: (unary_expression operand: (decimal_integer_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))))) alternative: (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (integral_type) value: (parenthesized_expression (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (decimal_integer_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (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: (binary_expression left: (binary_expression left: (identifier) right: (string_literal)) right: (identifier)) right: (string_literal)) right: (identifier)) right: (string_literal)) right: (identifier))))) alternative: (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: (binary_expression left: (binary_expression left: (identifier) right: (string_literal)) right: (identifier)) right: (string_literal)) right: (identifier)) right: (string_literal)) right: (identifier))))))))