import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); System.out.println("? 0 0"); int d1 = sc.nextInt(); System.out.println("? 0 100"); int d2 = sc.nextInt(); sc.close(); for (int i = 0; i <= 100; i++) { for (int j = 0; j <= 100; j++) { if (i * i + j * j == d1 && i * i + (100 - j) * (100 - j) == d2) { System.out.println("! " + i + " " + j); return; } } } } }