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