10040 - A Careless Teacher   

Description

 A careless teacher spilled coffee on the exam sheet, so parts of questions were invisiable. We need to figure out what they are so we can know the questions before the exam. ^^

Input

 The first line is an integer T (1 <= T <= 5), denoting number of questions. Each form of questions is {numberA operation numberB = numberC}. Number A. B, and C all have at most 3 digits.  The operations might be "+(addition)", "-(subtration)", "*(multiplication)", and "/(division)". The invisible part of number is marked as "d".

Output

 Recover the questions line by line, which have the same form of input.

Sample Input  Download

Sample Output  Download

Tags




Discuss