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