#include #include #include using namespace std; int main(){ int i=0; string r; while(1){ cout << setfill('0') << setw(3) << i << right << i << "\n"; cin >> r; if(r=="unlocked") break; else i++; } return 0; }