expand text by kt3k

q=''.join
s=input()
r=raw_input()
t=q(c*s for c in r)+'\n'
u=q(c+' '*(s-2)+c for c in r)+'\n'
print t,u*(s-2),t

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page