diff --git a/cetvrta.py b/cetvrta.py new file mode 100644 index 0000000..f11a711 --- /dev/null +++ b/cetvrta.py @@ -0,0 +1,8 @@ +points = [list(map(int, input().split())) for _ in range(3)] +x = [points[0][0], points[1][0], points[2][0]] +y = [points[0][1], points[1][1], points[2][1]] +xset = list(set(x)) +yset = list(set(y)) +print( + f"{xset[0] if x.count(xset[0]) == 1 else xset[1]} {yset[0] if y.count(yset[0]) == 1 else yset[1]}" +)