Given a list of planet weights and a "sun multiplier", print the sum of the planet weights, multiplied by the "sun multiplier".

Input:
The first line of input contains the number of test cases.

Each test case begins with line contianing a single integer, m (0 <= m <= 10), the "sun multiplier". The following line contains the list of planet weights for that solar system, comma separated.

Output:
Output one line per test case, containing case number and sum(weights) * multiplier. The output will fit in a 31 bit integer.

Input:
2
4
1,3,2,4
1
5

Output:
Case 1: 40
Case 2: 5