#include #include using namespace std; int main(){ string str; for(int i=0;i<1000;i++){ cout << setw(3) << setfill('0') << i << endl << flush; cin >> str; if(str=="unlocked")break; } return 0; }