#include #include #include using namespace std; int main() { cin.tie(0); ios::sync_with_stdio(false); string S; int n = 0; do { cout << setw(3) << setfill('0') << n++ << endl; cin >> S; } while (S != "unlocked"); return 0; }