#include using namespace std; int main(){ for(int i = 0; i < 1000; i++){ if(i < 10){ cout << "00" << i << endl; }else if(i < 100){ cout << "0" << i << endl; }else{ cout << i << endl; } string s; cin >> s; if(s == "unlocked"){ break; } } }