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