i=raw_input q=i() s=i() w="" for a in q:w+=a;print'%s[%s]%s'%s.rpartition(w)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page