print("?",100) x=int(input()) if x==99: print("!",99,100) else: print("?",100-x-1) y=int(input()) print("!",y-x,y)