package no471; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.InputMismatchException; import java.util.NoSuchElementException; public class Main { public static void main(String[] args) { IO io = new IO(); int n = io.nextInt(); int[] x = new int[n]; int[] y = new int[n]; io.nextIntArrays(x,y); io.println("? 0 0"); io.flush(); int translateX = io.nextInt(); int translateY = io.nextInt(); io.println("? 1 0"); io.flush(); int x1 = io.nextInt(); int y1 = io.nextInt(); int dx = 1; int dy = 0; int rotation = 0; for(int i=0;i<4;i++) { if (x1 == dx + translateX && y1 == dy + translateY) { rotation = i; break; } int dx2 = -dy; int dy2 = dx; dx = dx2; dy = dy2; } io.println("!"); for(int i=0;i Integer.MAX_VALUE) { throw new NumberFormatException(); } return (int) nl; } public char nextChar() { if (!hasNext()) { throw new NoSuchElementException(); } return (char) readByte(); } public double nextDouble() { return Double.parseDouble(next());} public int[] nextIntArray(int n) { int[] a = new int[n]; for(int i=0;i