Rectangle#769

Rectangle

1 second
128 megabytes
Very easy

Pete needs to select points on the plane such that they form a rectangle with sides parallel to the coordinate axes. Pete has already chosen three points, and you can be sure he picked them correctly. Help Pete determine the coordinates of the fourth point.

Input

The input consists of three lines. Each line contains two integers, separated by a space—the coordinates of a vertex of the rectangle. All coordinates are in the range from to .

Output

Print two integers—the coordinates of the fourth vertex of the rectangle.

Examples

Example 1

Loading
Loading

Example 3

Loading
Loading

Example 6

Loading
Loading