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