#include <iostream> #include <string> #include <vector> #include <algorithm> #include <math.h> using namespace std; typedef unsigned int uint; typedef unsigned long ulong; int main() { int count = 0; string input; while (count < 1000) { printf("%03d\n", count); cin >> input; if (input == "unlocked") { return 0; } else { count++; } } return 0; }