def Lingxing(n):
for i in xrange(1, n + 1):
for j in xrange(n - i):
print ' ',
for k in xrange(2 * i - 1):
print '*',
print #huan hang
for k in xrange(1 , n):
for h in xrange(k):
print ' ',
for v in xrange(2 * n - 2 * k - 1):
print '*',
print #huan hang
while True:
print "please Input lianxiang'row counts:"
num = int(raw_input())
Lingxing(num)