#include #include using namespace std; int main() { for (int i = 0; i < 1000; i++) { int n = i; cout << i / 100 << (i / 10)%10 << i % 10 << endl; string str; cin >> str; if (str == "unlocked") break; } return 0; }