Rectangle#130

Rectangle

1 second
64 megabytes
Easy

Given the coordinates of three vertices of a rectangle, find the coordinates of the fourth vertex.

Input

The input consists of a single line containing six integers: x_1 y_1 x_2 y_2 x_3 y_3 — these are the coordinates of three vertices of the rectangle.

All input values are integers with absolute value not exceeding .

Output

Output two integers — the coordinates of the missing vertex of the rectangle.

All output values must be integers with absolute value not exceeding .

Examples

Example 1

Loading
Loading