#include #include int main() { char s[9]; int n=0; printf("%03d\n", n++); while (scanf("%s", s), strcmp(s, "unlocked")!=0) { printf("%03d\n", n++); } return 0; }