e-olymp
Problems

Template 4

Template 4

Given positive odd integer n. Print the image of size n * n, formed by the asterisk and space characters as shown in the example.

Image 5.jpg

Input

One positive odd integer n (n >1).

Output

Print the image n * n.

Time limit 1 second
Memory limit 128 MiB
Input example #1
5
Output example #1
*****
 *** 
  *  
 *** 
*****
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"