*Frame 4
Very easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
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
Input #1
Answer #1
Submissions 9K
Acceptance rate 43%