while True: try: n = int(input()) for i in range(n): for j in range(n): print('*' if i == j or i + j + 1 == n else ' ', end = '') print() except EOFError: break
while True: try: n = int(input()) for i in range(n): for j in range(n): print('*' if i == j or i + j + 1 == n else ' ', end = '') print() except EOFError: break