l=1;h=10**9 while h-l>1 m=(h+l)/2; puts "? "+m.to_s if 0==gets.to_i h=m-1 else l=m end end puts "! "+(h-l).to_s