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.
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 .
Print two integers—the coordinates of the fourth vertex of the rectangle.
Example 1
Example 3
Example 6