x = int(input())
i = 0
while i < x:
    j = x
    while j >= 0:
        if j >= i:
            print(" ", end = "")
        else:
            print("*", end = "")
        j-=1
    print("*")
    i +=1