l = 0 r = 100 mid = t = 0 while l != r - 1: mid = (l + r) // 2 print('?', mid) t = int(input()) if t == 1: l = mid else: r = mid print('!', l)