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