high = 10**9+1 low = 0 while high-low>1: mid = (high+low)//2 print(f"? {mid}") a = int(input()) if a==1: low = mid else: high = mid print(f"! {low}")