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