# n=int(input())
# for i in range(n):
# print("*"*n)
# n=int(input())
# a=(' ')
# for i in range(1,n+1):
# a=(' ')*i
# print("**",'\n',end=a)
# n=int(input())
# for i in range(1,n+1):
# for j in range(1,n+1):
# if i==1 or i==n or j==1 or j==n:
# print("*",end="")
# else :
# print(" ",end="")
# print()
# n=int(input())
#
# for i in range(1,n+1):
# for j in range(1,n+1):
# if i==1 or i==n or j==1 or j==n or i==j or i+j==n+1:
#
# print("*",end="")
# else :
# print(" ",end="")
# print()