s=raw_input() n=len(s)+2 f=n/5*('|'+' '*n+'|\n') print' '+'_'*n+'\n/'+' '*n+'\\\n'+f+'| %s |\n'%s+f+'\\'+'_'*n+'/'
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page