System.in.eachLine{n=it as int;println"["*n+0+"]"*n}