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.
The first line contains the number of test cases T (1≤T≤100).
Each of the next T lines contains one equation in the format X O Y = Z. X, Y and Z are positive integers with 1≤X,Y,Z≤100, and O is either + or -. Every token is separated by a single space.
For each test case print one line. Print Case n:, where n 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.