package yukicoder; import java.util.*; public class Q471 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int M = sc.nextInt(); double[] x = new double[M]; double[] y = new double[M]; for (int i = 0; i < M; ++i) { x[i] = sc.nextDouble(); y[i] = sc.nextDouble(); } System.out.println("? 0 0"); double dx = sc.nextDouble(); double dy = sc.nextDouble(); System.out.println("? 1 0"); double cos = sc.nextDouble() - dx; double sin = sc.nextDouble() - dy; double[] nx = new double[M]; double[] ny = new double[M]; for (int i = 0; i < M; ++i) { nx[i] = cos * x[i] - sin * y[i] + dx; ny[i] = sin * x[i] + cos * y[i] + dy; System.out.println("!"+" "+nx[i]+" "+ny[i]); } } }