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])) c1, c2 = a[n - 1], a[n] if c1[1] != c2[1]: print(0, 2, -c1[1] - c2[1]) else: y = c1[1] c = 10**5 while not (abs(-2 * c) <= 10**5 and abs(2 * c * y - c1[0] - c2[0]) <= 2 * 10**10): c -= 1 print(2, -2 * c, 2 * c * y - c1[0] - c2[0])