Limits 1s, 512 MB

Shibli is a very good student. He is very regular and attentive in his classes. He is very serious about his study. So he makes good result in every semester.

Recently his previous semester result has published. Since Shibli is very busy with his study he asks his good friend Swapnil who is a very good programmer to calculate his Grade Point Average (GPA).

Input

Input starts with an integer TT(T5T \le 5), denoting the number of test cases. Each test case starts with an integer NN (N8N \le 8), denoting the number of subjects. Next NN line contains a floating point number pp (2p42 ≤ p ≤ 4) denoting the grade point Shibli got in each subject of previous semester. And you can assume that pp contains four digits after the decimal point.

Output

For each test case, print a line Case x: y\texttt{Case x: y} where x\texttt{x} is replaced by the test case number and y\texttt{y} is the GPA of previous semester Shibli got, rounded to three places after the decimal point.

Sample

InputOutput
2
5
3.4252
2.8526
3.9685
2.8754
3.8568
4	
2.8569
3.2154
2.2369
4.0000
Case 1: 3.396
Case 2: 3.077

Submit

Login to submit.

Statistics

95% Solution Ratio
KIRIN29Earliest, Jan '17
KIRIN29Fastest, 0.0s
protapLightest, 0 B
Nusab19Shortest, 77B
Toph uses cookies. By continuing you agree to our Cookie Policy.