P5730 [Shenji 5. Example 10] Display Screen
Description
On an LCD screen, each Arabic digit can be shown as a $3\times5$ dot matrix (where `X` means a lit dot and `.` means an unlit dot). Now you are given the number of digits (not exceeding $100$) and a string of digits. You need to output the display effect of these digits on the screen. The display style is the same as in the sample output. Note that there is one column of spacing between every two digits.
Input Format
The first line contains a positive integer $n$, which is the number of digits.
The second line contains a natural number of length $n$.
Output Format
Output five lines to represent the digits on the display screen.
Explanation/Hint
The testdata guarantees that $1 \leq n \leq 100$.
Translated by ChatGPT 5