*Frame 4#8945

*Frame 4

1 second
128 megabytes
Very easy

For the given positive integers and print the rectangular frame of size n \times m from stars, filled with spaces as shown in the sample.

Input

Two positive integers and (n, m \leq 100).

Output

Print the rectangular frame of size n \times m.

Examples

Example 1

Loading
Loading