#!/usr/bin/env python3 # %% import sys readline = sys.stdin.readline # %% M = int(readline()) XY = [tuple(map(int, readline().split()) for _ in range(M))] # %% def question(*args, offset='?'): if offset is None: print(*args, flush=True) else: print(offset, *args, flush=True) return readline() # %% a, b = map(int, question(0, 0).split()) c, d = map(int, question(1, 0).split()) e, f = map(int, question(0, 1).split()) c -= a e -= a d -= b f -= b print('!', flush=True) for x, y in XY: print(a + c * x + e * y, b + d * x + f * y, flush=True)