Limits 1s, 512 MB

Sohel vai reads newspaper every morning. The newspaper he reads contains some good features including different types of puzzle. He likes to those solve very much. In today’s newspaper the puzzle he found involves two numbers being added but with a mysterious result. Below are a few examples:

$4 + 2 = 62$

$9 + 6 = 153$

$17 + 12 = 295$

$5 + 5 = ?$

He was quite clever and solved the puzzle quickly and happily went out for a walk. You, being his neighbor, met him on the road where he told you about the puzzle.

Given two numbers you have to find out the mysterious sum of the numbers like given above. Don’t fail to figure out the mystery behind these numbers, otherwise Sohel vai will be upset.

Input

Input starts with an integer $T$ ($0 < T \le 50$), denoting the number of test cases. Each case starts with two integers $A$ and $B$ ($1 \le B \le A \le 100$) denoting the given numbers.

Output

For each case, print the case number and the sum that is told to find out.

Sample

InputOutput
3
4 2
9 6
17 12
Case 1: 62
Case 2: 153
Case 3: 295

Submit

Login to submit.

Statistics

93% Solution Ratio
musa.cse12Earliest, Aug '16
RamzanFastest, 0.0s
HillolTalukdarLightest, 0 B
Nusab19Shortest, 78B
Toph uses cookies. By continuing you agree to our Cookie Policy.