#include #include using namespace std; using namespace atcoder; using ll = long long; using ld = long double; string a; int main() { char s[20]; for (int i = 0; i <= 999; i++) { sprintf(s, "%03d", i); cout << s << endl; cin >> a; if (a == "unlocked") break; } return 0; }