#ABC246A. [ABC246A] Four Points

[ABC246A] Four Points

Score : 100100 points

Problem Statement

There is a rectangle in the xyxy-plane. Each edge of this rectangle is parallel to the xx- or yy-axis, and its area is not zero.

Given the coordinates of three of the four vertices of this rectangle, (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2), and (x3,y3)(x_3, y_3), find the coordinates of the other vertex.

Constraints

  • 100xi,yi100-100 \leq x_i, y_i \leq 100
  • There uniquely exists a rectangle with all of (x1,y1)(x_1, y_1), (x2,y2)(x_2, y_2), (x3,y3)(x_3, y_3) as vertices, edges parallel to the xx- or yy-axis, and a non-zero area.
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

x1x_1 y1y_1

x2x_2 y2y_2

x3x_3 y3y_3

Output

Print the sought coordinates (x,y)(x, y) separated by a space in the following format:

xx yy

-1 -1
-1 2
3 2
3 -1

The other vertex of the rectangle with vertices (1,1),(1,2),(3,2)(-1, -1), (-1, 2), (3, 2) is (3,1)(3, -1).

-60 -40
-60 -80
-20 -80
-20 -40