System.in.eachLine{0.upto(n=it as int){print"|${"_ "[n<=>it]*it}\\\n"}println"*"*32}