System.in.eachLine{0.upto(n=it as int){println"|${(it