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