print('? 100') r = int(input()) print('?', 100 - r - 1) b = int(input()) + 1 a = (r - 100) % b print('!', a, b)