Qualification Round Finished
Given you’re at the Math Wizard competition. To solve formulae given to you, you decide to write an algorithm to make it easier to solve.
For the next round, the problem is given to you on paper with its answer, and you have to tell the jury whether the formula solves and matches the given answer or not! Standard BODMAS rules apply to the competition.
T = Testcases
Case #1: false
Case #2: true
1 < T < 100 (small)
1 < T < 1000 (large)
Sample Input
2
6+2*nine/2 equals 105
3 + 2 = 5
Sample Output
Case #1: false
Case #2: true