print("? 0 0");a=int(input());print("? 0 100");b=int(input()) for i in range(101): for j in range(101): if i*i+j*j==a and i*i+(100-j)**2==b:print("!",i,j)