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