var n,i:comp;a:string;begin read(n);for i:=1-n to n-1do begin str(a+'*':n-abs(i)-1,a);writeln(a+'*':n,a)end;end.