ok=1 ng=10**10 for i in range(100): mid=(ok+ng)//2 print(f'? {mid}',flush=True) t=int(input()) if t == 1: ok = mid else: ng = mid print(f'! {ok}')