while True:
    try:
        num =int(input())
        a = num
        for i in range(num):
            print(" " * i + "* " * a)
            a -= 1
    except:
        break