print("?", -10**3) a = int(input()) print("!", a - 10**3 + 1)