a,b=map(int, input().split())
p,q=map(int, input().split())
x,y=map(int, input().split())
if (a==p and b==y) or (a==x and b==q):
print(p+x-a,q+y-b)
if (p==a and q==y) or (p==x and q==b):
print(a+x-p,b+y-q)
if (x==a and y==q) or (x==p and y==b):
print(a+p-x,b+q-y)
'백준(BOJ) 풀이' 카테고리의 다른 글
[백준 8447] 별 찍기 - 10 (0) | 2019.11.15 |
---|---|
[백준 4153] 직각삼각형 (0) | 2019.11.15 |
[백준 6064] 카잉 달력 (0) | 2019.11.15 |
[백준 1085] 직사각형에서 탈출 (0) | 2019.11.15 |
[백준 10828] 스택 (0) | 2019.11.14 |