public static void main ( String ... args ) throws IOException {
  Scanner sc = new Scanner ( new BufferedReader ( new InputStreamReader ( System . in ) ) ) ;
  PrintWriter out = new PrintWriter ( System . out ) ;
  int x = sc . nextInt ( ) , y = sc . nextInt ( ) ;
  long [ ] arr = new long [ 4 ] ;
  arr [ 0 ] = arr [ 3 ] = Math . abs ( x ) + Math . abs ( y ) ;
  if ( x < 0 ) arr [ 0 ] = - arr [ 0 ] ;
  if ( y < 0 ) arr [ 3 ] = - arr [ 3 ] ;
  if ( arr [ 0 ] < arr [ 2 ] ) out . println ( arr [ 0 ] + " " + arr [ 1 ] + " " + arr [ 2 ] + " " + arr [ 3 ] ) ;
  else out . println ( arr [ 2 ] + " " + arr [ 3 ] + " " + arr [ 0 ] + " " + arr [ 1 ] ) ;
  out . flush ( ) ;
  out . close ( ) ;
}

public static void main ( String ... args ) throws IOException { Scanner sc = new Scanner ( new BufferedReader ( new InputStreamReader ( System . in ) ) ) ; PrintWriter out = new PrintWriter ( System . out ) ; int x = sc . nextInt ( ) , y = sc . nextInt ( ) ; long [ ] arr = new long [ 4 ] ; arr [ 0 ] = arr [ 3 ] = Math . abs ( x ) + Math . abs ( y ) ; if ( x < 0 ) arr [ 0 ] = - arr [ 0 ] ; if ( y < 0 ) arr [ 3 ] = - arr [ 3 ] ; if ( arr [ 0 ] < arr [ 2 ] ) out . println ( arr [ 0 ] + " ▁ " + arr [ 1 ] + " ▁ " + arr [ 2 ] + " ▁ " + arr [ 3 ] ) ; else out . println ( arr [ 2 ] + " ▁ " + arr [ 3 ] + " ▁ " + arr [ 0 ] + " ▁ " + arr [ 1 ] ) ; out . flush ( ) ; out . close ( ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (spread_parameter (type_identifier) (variable_declarator name: (identifier)))) (throws (type_identifier)) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (object_creation_expression type: (type_identifier) arguments: (argument_list (object_creation_expression type: (type_identifier) arguments: (argument_list (field_access object: (identifier) field: (identifier)))))))))) (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))) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (array_type element: (integral_type) dimensions: (dimensions)) declarator: (variable_declarator name: (identifier) value: (array_creation_expression type: (integral_type) dimensions: (dimensions_expr (decimal_integer_literal))))) (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (unary_expression operand: (array_access array: (identifier) index: (decimal_integer_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (decimal_integer_literal))) consequence: (expression_statement (assignment_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (unary_expression operand: (array_access array: (identifier) index: (decimal_integer_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (array_access array: (identifier) index: (decimal_integer_literal)))) consequence: (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (string_literal)) right: (array_access array: (identifier) index: (decimal_integer_literal))) right: (string_literal)) right: (array_access array: (identifier) index: (decimal_integer_literal))) right: (string_literal)) right: (array_access array: (identifier) index: (decimal_integer_literal)))))) alternative: (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (binary_expression left: (array_access array: (identifier) index: (decimal_integer_literal)) right: (string_literal)) right: (array_access array: (identifier) index: (decimal_integer_literal))) right: (string_literal)) right: (array_access array: (identifier) index: (decimal_integer_literal))) right: (string_literal)) right: (array_access array: (identifier) index: (decimal_integer_literal))))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))