Write a program that simulates a calculator display, showing the image of a number as it would appear on such a display. The sign of the number should be displayed directly before the first digit.
The image of each digit or sign is created by turning on or off seven segments of a liquid crystal display. The program should print the display state using the symbols '|' (vertical bar), '_' (underscore), and ' ' (space). The digits and the minus sign on the display should be depicted as follows:

Each character is displayed as a 3 \times 3 matrix of symbols (including trailing spaces in each row).
An integer (|N| < 10^{10}).
The representation of the number on the calculator display.

An example of the output data is shown in the figure:
Example 1