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