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