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; System.out.println("!"); StringBuilder sb=new StringBuilder(); for (int i = 0; i < M; ++i) { double nx = cos * x[i] - sin * y[i] + dx; double ny = sin * x[i] + cos * y[i] + dy; sb.append(nx+" "+ny+"\n"); } System.out.println(sb.toString()); } }