A seven-segment display, like the one shown on the right, is composed of seven light-emitting elements. Each element can be turned on or off individually, allowing for different combinations, including the ten Arabic numerals. The figure below illustrates how the ten numerals are displayed.

Seven-segment displays (often abbreviated as -seg) are widely used in digital clocks, electronic meters, and calculators.

A -seg display has seven connectors, one for each element, plus a few additional connectors for other electrical purposes. Each element can be turned on by sending an electric current through its pin. Programmers view each of the seven pins as a single bit in a -bit number, as it is more convenient to work with bits rather than electrical signals. The figure below shows the bit assignment for a typical -seg display, with bit being the rightmost bit.
For example, to display the digit , the programmer knows that only bits and must be on. Thus, the -bit binary number for displaying digit is , or in decimal. We call the decimal number used for displaying a digit its display code, or simply code. Since a -seg display shows different configurations, display codes are usually written with three decimal digits, using leading zeros when necessary. For instance, the display code for the digit is written as .
In a -digit calculator, nine -seg displays are placed next to each other and are all controlled by a single controller. The controller is sent a sequence of digits, representing display codes, where 0 < n < 10. If n < 9, the number is right-aligned and leading zeros are automatically displayed. For example, the display code for is , while for it is .
Write a program that reads the display codes of two numbers and prints the display code of their sum.
Your program will be tested on one or more test cases. Each test case is given on a single line in the form + =, where both and are display codes for decimal numbers and respectively, where 0 < a, 0 < b, and a + b < 10^9. The last line of the input file is the word .
For each test case, print + B = C, where is the display code for a + b.
Example 1