#include using namespace std; int main() { for (int i = 0; i < 1000; i++) { printf("%03d", i); cout << endl; string s; cin >> s; if (s == "unlocked") return 0; } }