n=int(input()) b='' for i in range(2*n-1): if i==0: b='*' elif i<=n-1: b=b+2*'*' else: b=2*(2*n-2-i)*'*'+'*' print('{:^{}}'.format(b,1+2*(n-1)))