import java.math.BigInteger; import java.util.Arrays; import java.util.LinkedList; import java.util.Scanner; public class Main { public static long MOD = 1000000007; public static void query(int x, int y, int z){ System.out.println("?" + " " + x + " " + y + " " + z); } public static void query(int id, int v){ switch (id) { case 0: query(v, 0, 0); break; case 1: query(0, v, 0); break; case 2: query(0, 0, v); break; } } public static int search(int id, int upper, int lower, Scanner sc){ while(lower + 2 < upper){ //System.out.println(lower + " " + upper); final int uul = (upper * 2 + lower) / 3; final int ull = (upper + lower * 2) / 3; query(id, uul); final long uul_value = sc.nextLong(); query(id, ull); final long ull_value = sc.nextLong(); if(uul_value < ull_value){ lower = ull; }else{ upper = uul; } } query(id, upper); final long upper_value = sc.nextLong(); query(id, lower + 1); final long middle_value = sc.nextLong(); query(id, lower); final long lower_value = sc.nextLong(); final long min = Math.min(middle_value, Math.min(lower_value, upper_value)); if(middle_value == min){ return lower + 1; }else if(lower_value == min){ return lower; }else{ return upper; } } public static void main(String[] args) { Scanner sc = new Scanner(System.in); final int x = search(0, 150, -150, sc); final int y = search(1, 150, -150, sc); final int z = search(2, 150, -150, sc); System.out.println("!" + " " + x + " " + y + " " + z); } }