#872
Bronze III
ČETVRTA
시간 제한
1s
메모리 제한
32MB
제출
0
정답
0
맞힌 사람
0
정답 비율
0.0%

문제

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.

입력

Each of the three points already chosen will be given on a separate line. All coordinates will be integers between 1 and 1000.

출력

Output the coordinates of the fourth vertex of the rectangle.

예제 입력 1

5 5
5 7
7 5

예제 출력 1

7 7

예제 입력 2

30 20
10 10
10 20

예제 출력 2

30 10
코드 제출

코드를 제출하려면 로그인이 필요합니다.

로그인
내 제출
제출 내역이 없습니다.
맞은 사람
아직 맞은 사람이 없습니다.
난이도 투표
Bronze III1명 투표· 약 1개월 전
로그인 후 AC 받으면 투표할 수 있습니다.
전체 제출
제출 내역이 없습니다.