lb = 1 ub = 10 ** 9 + 1 while ub - lb > 1: mid = (ub + lb) // 2 print("?",mid) if int(input()) == 1: lb = mid else: ub = mid print("!",lb)