#include using namespace std; typedef signed long long ll; #undef _P #define _P(...) (void)printf(__VA_ARGS__) #define FOR(x,to) for(x=0;xch) return 1; return 0; */ cout << "? " << Y << endl; int res; cin >> res; return res; } void solve() { int i,j,k,l,r,x,y; string s; x=ask(80); if(x==0) { cout << "! " << 80 << endl; return; } if(x<0) { for(i=2;i<=100;i++) { x=ask(0); if(x==0) { cout << "! " << i-1 << endl; return; } } } int L=80,R=1000000009; int num=1; while(L0) { L=M+1; } else { R=M; } } cout << "! " << L << endl; } int main(int argc,char** argv){ string s;int i; if(argc==1) ios::sync_with_stdio(false); FOR(i,argc-1) s+=argv[i+1],s+='\n'; FOR(i,s.size()) ungetc(s[s.size()-1-i],stdin); solve(); return 0; }