a = 1 b =1000000000 while a != b-1: print("?",str((a+b)//2)) temp = int(input()) if temp == 1: a = (a+b)//2 else: b = (a+b)//2 print("!",a)