n=int(input())
i=0
space=n-1
star=1
while i<n:
    j=0
    while j<space:
        print(" ",end='')
        j+=1
    j=0
    while j<star:
        print("*",end='')
        j+=1
    space-=1
    star+=1
    print("")
    i+=1