Hollow rectangle#9402

Hollow rectangle

1 second
64 megabytes
Very easy

Create a program that outputs a hollow rectangle with dimensions n \times m, using asterisks for the edges.

Input

You will receive two integers and (1 \leq n, m \leq 50), which specify the dimensions of the rectangle.

Output

Display a hollow rectangle with dimensions n \times m, where the perimeter is formed by asterisks.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading