Calculator#391

Calculator

1 second
64 megabytes
Very easy

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).

Input

An integer (|N| < 10^{10}).

Output

The representation of the number on the calculator display.

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

Examples

Example 1

Loading
Loading