print("? 0 0") a = map(int, input().split()) print("? 100 100") b = map(int, input().split()) print("? 0 100") c = map(int, input().split()) for i in range(101): for j in range(101): if i**2+j**2 != a: continue if (100-i)**2+(100-j)**2 != b: continue if i**2+(100-c)**2 != c: continue print("! {i} {j}")