Given a string of N letters from A to E, render the 5x3 pattern for each letter side by side and print the resulting 5 rows of 3N characters.
When Vera was learning English, she played with five kinds of toy blocks, one for each of the first five uppercase letters. One block is a 5×35 \times 35×3 grid of the characters . and *. The five kinds look like this.
.
*
*** *** *** *** *** *.* *.* *.. *.* *.. *** *** *.. *.* *** *.* *.* *.. *.* *.. *.* *** *** *** ***
Vera has a word SSS of length NNN. Lay the block for each letter of SSS in a row from left to right, and report the shape that comes out.
The first line contains an integer NNN (1≤N≤20171 \le N \le 20171≤N≤2017).
The second line contains a string SSS of length NNN. SSS consists only of the letters A, B, C, D, E.
Print the shape of the blocks laid in a row on five lines. Each line has 3N3N3N characters.