scientific_comp_projects/CODE/[python]kattis/trivial/cetvrta.py
2021-10-29 15:16:40 +02:00

22 lines
345 B
Python

point1 = input()
point2 = input()
point3 = input()
c = ''
d = ''
# Get two coordinates that are independent
a = point1.split(' ')
b = point2.split(' ')
c = point3.split(' ')
d = []
for i in range(2):
if a[i]==b[i]:
d.append(c[i])
elif a[i]==c[i] :
d.append(b[i])
else :
d.append(a[i])
print(d[0]+' '+d[1])