Coasters by tobiesque

x=raw_input()
a=len(x)+2
k="_"*a
m=" "*a
l=("|"+m+"|\n")*(1,2)[a>7]
print" "+k+"\n/"+m+"\\\n"+l+"| "+x+" |\n"+l+"\\"+k+"/"

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

download

return top