eolymp
Problems

*Frame 3

*Frame 3

Time limit 1 second
Memory limit 128 MiB

For the given positive integer n print the square frame of size n * n from stars, filled with spaces as shown in the sample.

Input data

One positive integer n (n100).

Output data

Print the square frame of size n * n.

Examples

Input example #1
5
Output example #1
*****
*   *
*   *
*   *
*****
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"