b=System.in.text n=b.size()+2 _='_'*n w=' '*n e="|$w|\n"*(n/5) print" $_\n/$w\\\n$e| $b |\n$e\\$_/"