x=int(input()) for i in range(2*x-1): if i==0 or i==x-1 or i==2*x-2: print("* "*(2*x-1)) else: print(2*("* "+(2*x-4)*' ')+'* ')