시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 512 MB83777092.105%

문제

When Vera was learning English, she had 5 types of toy blocks, one for each of the first 5 uppercase letters. A block can be represented as a 5 × 3 grid with characters . and *. The 5 types of blocks look like the following:

*** *** *** *** ***
*.* *.* *.. *.* *..
*** *** *.. *.* ***
*.* *.* *.. *.* *..
*.* *** *** *** ***

Vera has a word S with N letters and wonders what the corresponding sequence of blocks look like when arranged in a row.

입력

Line 1 contains integer N (1 ≤ N ≤ 2017).

Line 2 contains string S of length N, and consists of only letters A, B, C, D, E.

출력

Print 5 lines, each with 3N characters, the corresponding sequence of blocks.

예제 입력 1

5
ABCDE


예제 출력 1

***************
*.**.**..*.**..
*******..*.****
*.**.**..*.**..
*.*************


예제 입력 2

10

******************************