ans = 0 for i in range(105): print('?',1,2 ** i,flush=True) s = input() if s == '=' or s == '>': ans += 2 ** i print("!",ans,flush=True)