#include #include #include #include using namespace std; int main() { string s; int n=0; int atari=0; int t,prevt; cout << "0000000000" << endl; cin >> prevt >> s; if(s == "unlocked") return 0; n++; for(int i=0;i<10;i++){ n = pow(10,(double)i); for(int j=1;j<10;j++){ cout << setw(10) << setfill('0') << n << endl; cin >> t >> s; if(s == "unlocked") return 0; if(t != prevt){ if(t>prevt) atari += j*pow(10,(double)i); else if(t> t >> s; if(s == "unlocked") return 0; return 0; }