チルノ(Cirno)は幻想郷最強! Espacially for her arithmetic(さんすう) ability. Now she is in some kind of trouble. As we can infer, arithmetic book can be very significant to her due to her deep love for arithmetic. But some days ago her arithmetic book was stained in the battle against 霊夢(Reimu). Cirno is so impatient that she is now coming to you for help. If you successfully repair the arithmetic book, she will pay you an "Accpeted" in return. お願いします!
In the arithmetic book, there are n equations in the form of "A + B = C", "A - B = C" or "A * B = C", (there is a space between every two adjacent elements)
Here, A, B, C each represents some number, or represents a '?', which means that this place is stained and the number here is invisible.
It is guaranteed that for each equation there is at most one '?' in it.(or say that there can be no '?'.)
There are (n + 1) lines of input.
In the first line, there is an integer n , the number of equations in the arithmetic book.
For each line below, there is an equation:
- input a number A or a '?'
- input an operator '+', '-', or '*'
- input a number B or a '?'
- input a '='
- input a number C or a '?'
n <= 2000, 1 <= A, B, C <= 9.
It is guaranteed that every number in an equation is a non-negative integer less than 10 after repairing.
For each equation, output the equation repaired in the form of "A + B = C".
4 ? * 2 = 4 1 + ? = 2 5 - 4 = ? 3 * 2 = 6
2 * 2 = 4 1 + 1 = 2 5 - 4 = 1 3 * 2 = 6