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