while True:
    try:
        n = int(input())
        for i in range(n):
            print(' '*(n-1-i) + '* '*(i+1))
    except EOFError:
        break