#include #include main(){ for(int i = 0;i <= 999;i++){ printf("%03d\n",i); fflush(0); char S[9]; scanf("%s",S); if(!strcmp(S,"unlocked"))break; } }