Maybe you know there's a game called the Keyboard Piano.

It means you can play the keyboard to replace playing piano.

To simplify this problem, we set a key K as 1 (do). And we give you one "letter nusical notation", you have to calculate out the numbered musical notation with at most 20 notation per line.

You should consider that (K - 1) is 7 and (K + 1) is 2.
.

For each case, you should output the numbered musical notation with at most 20 notation per line.

There's a single line of string "--------------------" between each case and there's a blank line between each line of the same case.

For each case, the height of each note should adapt this case's global height. You should leave a space when there's no ".".

.
. ... .
24131724427
.. . .
--------------------
......
.............
12345671234567123456
.....
......
......
712345