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