a=input()-2 d=e='' for c in raw_input():d+=c+c*a+c;e+=c+' '*a+c for l in[d]+[e]*a+[d]:print l
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page