public static void main ( String [ ] args ) {
  Scanner sc = new Scanner ( System . in ) ;
  int x1 = sc . nextInt ( ) ;
  int y1 = sc . nextInt ( ) ;
  int x2 = sc . nextInt ( ) ;
  int y2 = sc . nextInt ( ) ;
  double x3 = x2 + ( ( x1 - x2 ) * Math . cos ( - Math . PI / 2 ) - ( y1 - y2 ) * Math . sin ( - Math . PI / 2 ) ) ;
  double y3 = y2 + ( ( x1 - x2 ) * Math . sin ( - Math . PI / 2 ) + ( y1 - y2 ) * Math . cos ( - Math . PI / 2 ) ) ;
  double x4 = x1 + ( ( x2 - x1 ) * Math . cos ( Math . PI / 2 ) - ( y2 - y1 ) * Math . sin ( Math . PI / 2 ) ) ;
  double y4 = y1 + ( ( x2 - x1 ) * Math . sin ( Math . PI / 2 ) + ( y2 - y1 ) * Math . cos ( Math . PI / 2 ) ) ;
  System . out . println ( ( int ) Math . rint ( x3 ) + " " + ( int ) Math . rint ( y3 ) + " " + ( int ) Math . rint ( x4 ) + " " + ( int ) Math . rint ( y4 ) ) ;
  sc . close ( ) ;
}

public static void main ( String [ ] args ) { Scanner sc = new Scanner ( System . in ) ; int x1 = sc . nextInt ( ) ; int y1 = sc . nextInt ( ) ; int x2 = sc . nextInt ( ) ; int y2 = sc . nextInt ( ) ; double x3 = x2 + ( ( x1 - x2 ) * Math . cos ( - Math . PI / 2 ) - ( y1 - y2 ) * Math . sin ( - Math . PI / 2 ) ) ; double y3 = y2 + ( ( x1 - x2 ) * Math . sin ( - Math . PI / 2 ) + ( y1 - y2 ) * Math . cos ( - Math . PI / 2 ) ) ; double x4 = x1 + ( ( x2 - x1 ) * Math . cos ( Math . PI / 2 ) - ( y2 - y1 ) * Math . sin ( Math . PI / 2 ) ) ; double y4 = y1 + ( ( x2 - x1 ) * Math . sin ( Math . PI / 2 ) + ( y2 - y1 ) * Math . cos ( Math . PI / 2 ) ) ; System . out . println ( ( int ) Math . rint ( x3 ) + " ▁ " + ( int ) Math . rint ( y3 ) + " ▁ " + ( int ) Math . rint ( x4 ) + " ▁ " + ( int ) Math . rint ( y4 ) ) ; sc . close ( ) ; }
(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)))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (unary_expression operand: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (unary_expression operand: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal)))))))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (unary_expression operand: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (unary_expression operand: (field_access object: (identifier) field: (identifier))) right: (decimal_integer_literal)))))))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (decimal_integer_literal))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (decimal_integer_literal)))))))))) (local_variable_declaration type: (floating_point_type) declarator: (variable_declarator name: (identifier) value: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (decimal_integer_literal))))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (binary_expression left: (field_access object: (identifier) field: (identifier)) right: (decimal_integer_literal)))))))))) (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: (cast_expression type: (integral_type) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))) right: (string_literal)) right: (cast_expression type: (integral_type) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))) right: (string_literal)) right: (cast_expression type: (integral_type) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier))))) right: (string_literal)) right: (cast_expression type: (integral_type) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))))) (expression_statement (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))))