x=int(input())
a=x

while a > 0:
    for j in range(x-a,0,-1):
        print(" ",end="")
    for i in range(a,0,-1):
        print("*",end="")   
    a -= 1
    print()