326. Pizzas

Problem Statement:
Coach Fegla The Great - yeah we know, that's just the way he likes to sign his formal emails - had gathered all his ECPC trainees and had been training them to enrich their problem solving skills for 29 hours non-stop! Of course, they had become extremely hungry. Ghoneim, not being able to endure anymore, shouted "PIZZA! I want to eat pizza!". Fegla - being great - replied "OK, we'll pause for now. Let's order from Pizza Hut". There were N trainees, every trainee ordered a single special pizza order which costs Ni and 1 ≤ i ≤ N.

Fegla is going to pay the delivery man the total costs of the pizzas. He gathered all the necessary money from each trainee and he wants to make sure that the total money he has is correct. He asks you to write a program that calculates the total costs of the pizzas to make sure he has the correct amount of money.

Input Format:
An integer T representing the number of test cases. Each test case consists of two lines. First line contains N where 1 ≤ N ≤ 1, 000. Second line consists of N integers Ni and 1 ≤ i ≤ N.

Output Format:
For each test case you should output: "Case X: Y" where X is the case number starting from 1, and Y is the sum Fegla asked you to calculate.

Sample Input:
2 5 1 2 3 4 5 6 11 12 19 0 2 1

Sample Output:
Case 1: 15 Case 2: 45

 Added by: hossamyosef Added at: 2014-11-11 15:32:58 UTC Time Limit: 2 seconds Partial score: No Source: ACM Jordanian Collegiate Programming Contest 2014