Simple Operation

Limits 1s, 512 MB

Mr. X is a school teacher. He teaches C programming to the students. In every class, he gives some simple problems to the students as a class task. One day he asked his students to solve a simple problem. That is, he will give two numbers and an arithmetic operator ( +, - , * ) in the middle of the two numbers. Students have to find out the result after the arithmetic operation. For example, Mr. X has given “10 * 20”. So, the result will be 200.

Now, suppose you are a student of his class. You have to solve this task. Can you solve it?

Input

Input starts with an integer T ≤ 50), denoting the number of test cases.
Each case starts with a line containing an Integer A, a character B and another integer C. You can assume that both A, C will not be more than 1000.

Output

For each case, print the case number and the result. See the samples for exact formatting. Do not break the actual formatting that is given in sample output. Otherwise, you may get wrong answer or presentation error.

Sample

InputOutput
2
10 * 20
50 - 10
Case 1: 200
Case 2: 40