e-olymp
Competitions

Вступ_Заоч-3

*Frame 2

For the given positive integer n print the horizontal rectangular frame of size n * 3 from stars, filled with spaces as shown in the sample.

Input

One positive integer n (n100).

Output

Print the horizontal rectangular frame of size n * 3.

Time limit 1 second
Memory limit 128 MiB
Input example #1
5
Output example #1
***
* *
* *
* *
***
Author Matviychuk Sergiy Volodymyrovych
Source "ABC programming"