import sys print("? 12 79") sys.stdout.flush() d1 = int(input()) print("? 54 17") d2 = int(input()) sys.stdout.flush() for i in range(101): for j in range(101): if i ** 2 + (100 - j) ** 2 == d1 and (50 - i) ** 2 + j ** 2 == d2: print("!", i, j) sys.stdout.flush() exit()