561 - Strange Logic
Strange Logic
Time Limit: 0.5 sec
The Problem
Shawon is a class seven students. He loves to solve math. He is confused in this math problem.
The problem is
11 x 11 = 4
11 x 22 = 8
11 x 33 = 12
What is the logic behind? - Shawon says
Can you help him to find the logic?
The Input
Input starts with an integer T(1<=T<=100), denoting the number of test cases. Each test case contains two integers M and N (9<M, N<100).
The Output
For each test case, print "Case X: Y" here X is the case number stating from 1 and Y is the multiplication answer.
Sample Input
2
11 22
11 33
Sample Output
Case 1: 4
Case 2: 12
Problem Setter: Shahin ShamS