#include #include int main(){ int i=0 ; char a[10]; do{ if(i<10) printf("00%d\n",i); else if(i<100)printf("0%d\n",i); else printf("%d\n",i); i++; fflush(stdout); scanf("%s",a); }while(strcmp(a,"unlocked")); return 0; }