*Frame 3#8944

*Frame 3

1 second
128 megabytes
Very easy

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

Input

One positive integer (n \le 100).

Output

Print the square frame of size n \times n.

Examples

Example 1

Loading
Loading