x=int(input())
a=x

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