import math print("? 0 0") d0 = int(input()) print("? 0 100") d1 = int(input()) x = (d0 - d1) // 200 + 50 y = int(math.sqrt(d0-x**2)) print("! {} {}".format(x, y))