Pete must select 4 points on the plane so that they formed a rectangle with sides parallel to coordinate axes. Peter had already chosen three points and I am sure he picked them up correctly. Please help Pete find the coordinates of the fourth point.
Contains three lines. Each line contains two integers, separated by a space - the coordinates of the vertices of the rectangle. All coordinates are in the range from 1 to 1000.
Print two integers - the coordinates of the fourth vertex of the rectangle.