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