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