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