#!/usr/bin/env python3 import sys m = int(input()) x = [ None ] * m y = [ None ] * m for i in range(m): x[i], y[i] = map(int, input().split()) def ask(x, y): print('?', x, y) sys.stdout.flush() fx, fy = map(int, input().split()) return fx, fy # [ x' ] [ a b e ] [ x ] # [ y' ] = [ c d f ] [ y ] # [ 1 ] [ 1 ] [ 1 ] ae, cf = ask(1, 0) aae, ccf = ask(2, 0) a = aae - ae e = ae - a c = ccf - cf f = cf - c be, df = ask(0, 1) b = be - e d = df - f def rotate(x, y): fx = a*x + b*y + e fy = c*x + d*y + f return fx, fy print('!') for i in range(m): print(*rotate(x[i], y[i]))