1
print'*'x$_."\n"for(1..($z=(pop))),reverse(1..$z-1)