Omar's addition and subtraction check

No attempts yetTime limit1sMemory limit256 MB

Problem

Ahmed Aly was the chief judge of the last Arab Collegiate Programming Contest, and he is the chief judge of the next one too. He reached the ACM ICPC World Finals in Orlando in 2011, and he now works as a software engineer at Google.

The last contest was the first one the chief judge did not attend in person. His son Omar was due a few days before or after the contest, so he could not travel to Jordan. Omar was born 10 days after the contest ended.

Omar is 9 months old now, old enough to start learning programming. His first program is a very simple one that adds or subtracts two numbers. Decide whether each equation the program produced is correct.

Input

The first line contains the number of test cases TT (1T1001 \le T \le 100).

Each of the next TT lines contains one equation in the format X O Y = Z. XX, YY and ZZ are positive integers with 1X,Y,Z1001 \le X, Y, Z \le 100, and OO is either + or -. Every token is separated by a single space.

Output

For each test case print one line. Print Case n:, where nn is the test case number starting from 1, then a single space, then YES if the equation is correct and NO if it is wrong.