x_points = []
y_points = []
for _ in range(3):
    x, y = list(map(int, input().split()))
    x_points.append(x)
    y_points.append(y)
    
point_x = x_points[2] if x_points[0] == x_points [1] else (x_points[1] if x_points[0] == x_points[2] else x_points[0])
point_y = y_points[2] if y_points[0] == y_points [1] else (y_points[1] if y_points[0] == y_points[2] else y_points[0])
print('{} {}'.format(point_x, point_y))

'# 코딩 문제 관련 > 파이썬' 카테고리의 다른 글

백준 3053번(python)  (0) 2019.07.05
백준 4153번(python)  (0) 2019.07.05
백준 1085번(python)  (0) 2019.07.05
백준 2869번(python)  (0) 2019.07.04
백준 1712번(python)  (0) 2019.07.03