https://www.acmicpc.net/problem/10996
n=input()
n=int(n)
f=0;
if n==1:
print("*")
else:
for i in range(1,2*n+1):
for j in range(1,int(n/2)+1):
if i%2==1 and n%2==0:
if f==0:
print("*",end="")
f+=1
if j<n/2:
print(" *",end="")
elif i%2==1 and n%2==1:
if f==0:
print("*",end="")
f+=1
print(" *",end="")
else:
print(" *", end="")
f=0
print()