print('?',-1000,flush=True) ans=int(input()) print('!',ans-1000,flush=True)