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