n = int(input()) cx = n // 2 cy = n // 2 for i in range (0, n): for j in range (0, n): if (abs(i-cx) + abs(j-cy)) <= n//2: print ("*", end ="") else: print (" ", end="") print ("")