ans = 0 t = 1 N = 10**100 while t <= N: print("?", 1, t) s = input() if s != "<": ans += t t *= 2 print("!", ans)