e-olymp
Competitions

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

*Frame

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

Input

One positive integer n (1 < n100).

Output

Print the horizontal rectangular frame of size 3 * n.

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