a=int(input())
for j in range(a,0,-1):
    for i in range(j,0,-1):
        print("*",end="")
    print()