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