for(y=n=readline();~n-y;--y,print(o))for(x=n,o='';~n-x;)o+=x*x--+y*y>n*n?' ':'*'