min = 1 max = 1000000000 while min != max: y = (min + max) // 2 print("? " + str(y)) a = input() if a == "1": min = y + 1 else: max = y print("! " + str(min))