import sys print("? 100") sys.stdout.flush() r = int(input()) if r == 99: print("! 99 100") exit() print("? {}".format(100 - r - 1)) sys.stdout.flush() B = int(input()) + 1 A = (r - 100) % B print("! {} {}".format(A, B))