#include main(){int l=1,a,d=1e9;while(d-1)printf("? %d\n",l+(++d/=2)),std::cin>>a,l+=a*d;printf("! %d\n",l);}