#include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); for(int i = 0; i < 1000; i++) { printf("%03d\n", i); string s; cin >> s; if(s == "unlocked") return 0; } return 0; }