char s[11],a[3000][11];t,l,r,n;c(a,b){return strcmp(a,b);}main(i){n=strlen(gets(s));for(;t++<1<