*Frame 4#89

*Frame 4

1 second
128 megabytes
Very easy (≈850)

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

Input

Two positive integers n and m (n, m ≤ 100).

Output

Print the rectangular frame of size n * m.

Examples

Example 1

Loading
Loading