import sys print("? 0 0") sys.stdout.flush() d1 = int(input()) x, y = 0, 0 for i in range(101): for j in range(101): if i ** 2 + j ** 2 == d1: x, y = i, j break print("?", x, y) sys.stdout.flush() d2 = int(input()) for i in range(101): for j in range(101): if (i - x) ** 2 + (j - y) ** 2 == d2: print("!", i, j) sys.stdout.flush() exit()