favorite We need a little bit of your help to keep things running, click on this banner to learn more
Problems

# *Frame 3

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

One positive integer n (n100).

#### Output

Print the square frame of size n * n.

Time limit 1 second
Memory limit 128 MiB
Input example #1
5

Output example #1
*****
*   *
*   *
*   *
*****

Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"