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