Cetvrta
Mirko needs to choose four points in the plane so that they form a rectangle with sides parallel to the axes. He has already chosen three points and is confident that he hasn't made a mistake, but is having trouble locating the last point. Help him.
InputEach of the three points already chosen will be given on a separate line. All coordinates will be integers between 1 and 1000.
OutputOutput the coordinates of the fourth vertex of the rectangle.
Input
Output
5 5
5 7
7 5 Output
7 7Input
Output
30 20
10 10
10 20 Output
30 10Submit solution
Coming laterThe grading service will be connected in a later migration step. You can inspect the task and your previous results now.