print("?",100); p = int(input()) if p==99: print("!",99,100) else: print("?",100-p-1); q = int(input()); print("!",(p-100)%(q+1),q+1)