i=119;main(d,a,b){for(gets(a);bcmp(a,b+i,d)?--i:printf("%.*s[%.*s]%s\n",i,b,d++,a,b+i+d);)gets(b);}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page