#include "iostream" using namespace std; int main() { string str; for (int i = 0; i < 1000; i++){ printf("%03d\n",i); cin >> str; if (str == "unlocked") break; } return 0; }