var i,n:word;s:string="* ";begin read(n);repeat write(s:n+i);s:="**"+s;inc(i)until i=n-1;write("*":i)end.