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 solve() { // 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]); } public static void main(String[] args) { new Thread(null, new Runnable() { @Override public void run() { long start = System.currentTimeMillis(); String debug = args.length > 0 ? args[0] : null; if (debug != null) { try { is = java.nio.file.Files.newInputStream(java.nio.file.Paths.get(debug)); } catch (Exception e) { throw new RuntimeException(e); } } reader = new java.io.BufferedReader(new java.io.InputStreamReader(is), 32768); solve(); out.flush(); tr((System.currentTimeMillis() - start) + "ms"); } }, "", 64000000).start(); } private static void tr(Object... o) { if (is != System.in) System.out.println(java.util.Arrays.deepToString(o)); } 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(); } }