#!/usr/bin/python
# -*- coding: UTF-8 -*-

# 打印空心等边三角形 
rows = int(raw_input('Input line No.:'))
for i in range(0, rows):
    for k in range(0, 2 * rows - 1):
        if (i != rows - 1) and (k == rows - i - 1 or k == rows + i - 1):
            print " * ",
        elif i == rows - 1:
            if k % 2 == 0:
                print " * ",
            else:
                print "   ",
        else:
            print "   ",
    print "\n"
