#include #include #include using namespace std; int main() { string ret; int n = 0; while(1) { printf("%03d\n", n); cin >> ret; if (ret == "unlocked") { break; } n++; } return 0; }