import java.util.*; public class Question{ public static void main(String... args){ Scanner scan = new Scanner(System.in); System.out.println("! "+String.valueOf(Judge(scan))); } public static int Judge(Scanner scan){ int high = (int)(10e9)+1; int low = 1; while(high - low > 1){ int middle = high+low/2; System.out.println("? "+middle); int res = scan.nextInt(); if(res==1){ low = middle; }else{ high = middle; } } return low; } }