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. ^^
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".
Recover the questions line by line, which have the same form of input.