Problem Statement:
Given x, n and y, write a program to calculate z using this equation



Input Format:
T the number of test cases followed by T lines
Each line has three integers represent a x, n and y of each test case
x, n and y are integers between zero and 1,000,000 inclusive


Output Format:
First line of each test case should start with: "Case u:" where u is the number of the test case starting from 1
Second line of each test case should has one number represent the value of z


Sample Input:
2 0 1 2 0 2 3


Sample Output:
Case 1: 2 Case 2: 3.5





Added by: gammal
Added at: 2015-04-11 07:00:00 UTC
Time Limit: 1 second
Partial score: No