x = 0 print(f'? {x}') res1 = int(input()) x = 1 print(f'? {x}') res2 = int(input()) a = res2 - res1 b = res1 print(f'! {a} {b}')