M = int(input()) xys = [] for m in range(M): x, y = map(int, input().split()) xys.append((x, y)) print("? 0 0") x0, y0 = map(int, input().split()) print("? 1 0") x1, y1 = map(int, input().split()) xx = x1 - x0 yy = y1 - y0 if xx == 1 and yy == 0: d = 0 elif xx == 0 and yy == 1: d = 90 elif xx == -1 and yy == 0: d = 180 elif xx == 0 and yy == -1: d = 270 else: raise RuntimeError('unexpected result!') print("!") for x, y in xys: if d == 0: print(x0 + x, y0 + y) elif d == 90: print(x0 - y, y0 + x) elif d == 180: print(x0 - x, y0 - y) elif d == 270: print(x0 + y, y0 - x)