print("? 0 0") r1 = int(input()) print("? 100 0") r2 = int(input()) for a in range(101): for b in range(101): if a * a + b * a != r1: continue if (100 - a) * (100 - a) + b * b != r2: continue print("!", a, b) exit()