n = input()
for i in range(n):
if i > n/2:
t = n-1-i
else:
t = i
s1 = ' ' * (n/2 - t)
s2 = ' ' * (2*t - 1)
if t == 0:
print s1 + '*'
else:
print s1 + '*' + s2 + '*'