n = int(input()) a = [] for i in range(2 * n): x, y = map(int, input().split()) a.append((x, y)) a.sort(lambda x: (x[1], x[0])) from random import randint inf = 10**5 // 2 while True: xx, yy = randint(-inf, inf), randint(-inf, inf) v = [] for x, y in a: val = x * xx + y * yy v.append(val) v.sort() if v[n - 1] - v[n] == 0: continue print(2 * xx, 2 * yy, -(v[n - 1] + v[n])) break