print('?', 0) d0 = int(input()) print('?', 1) d1 = int(input()) ans = d0 if d0 > d1 else -d0 print('!', ans)