시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 1024 MB180056247531.066%

문제

One of the professors at PLU has had a lot of trouble reading student programs. He just cannot read that small print. Your job is to write a program that will read a positive integer and rewrite the number in large block format. The block format for each digit is given below.

0000    1 2222 3333 4  4 5555 6666 7777 8888 9999
0  0    1    2    3 4  4 5    6       7 8  8 9  9
0  0    1 2222 3333 4444 5555 6666    7 8888 9999
0  0    1 2       3    4    5 6  6    7 8  8    9
0000    1 2222 3333    4 5555 6666    7 8888    9 

입력

There will be one positive integer on the first line.

출력

Print each digit of the integer in large block format starting with the leftmost digit. There should be one blank line between each block digit.

예제 입력 1

8436

예제 출력 1

8888
8  8
8888
8  8
8888

4  4
4  4
4444
   4
   4

3333
   3
3333
   3
3333

6666
6
6666
6  6
6666