while 1:
    try:
        a = int(input())
        for i in range(a,0,-1):
            print(i * '* ')
    except:
        break