n = int(input())
########## Begin ##########
for i in range(n):
for j in range(1,n-i):
print(' ',end="")
for k in range(2*i+1):
print('*',end='')
for m in range(1,n-i):
print(' ',end="")
print()
########## End ##########