package yukicoder; import java.util.*; public class P594 { static long query(int n, int z) { String s = "?"; for(int i=0; i<3; i++) { if(i==n) { s += " " + z; } else { s += " " + 0; } } System.out.println(s); return nl(); } private static boolean f(int n, int k) { return query(n, k) - query(n, k+1) > 0; } public static void main(String[] args) { // TODO Auto-generated method stub int[] ret = new int[3]; for(int i=0; i<3; i++) { int left = -151; int right = 150; while(Math.abs(left-right)>1) { int k= (left+right)/2; if(f(i, k)) { left = k; } else { right = k; } } ret[i] = right; } System.out.printf("! %d %d %d\n", ret[0], ret[1], ret[2]); } private static java.io.InputStream is = System.in; private static java.io.PrintWriter out = new java.io.PrintWriter(System.out); private static java.util.StringTokenizer tokenizer = null; private static java.io.BufferedReader reader; private static long nl() { return Long.parseLong(next()); } public static String next() { while (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new java.util.StringTokenizer(reader.readLine()); } catch (Exception e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } }