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 starts with an integer (), denoting the number of test cases. Each test case starts with an integer (), denoting the number of subjects. Next line contains a floating point number () denoting the grade point Shibli got in each subject of previous semester. And you can assume that contains four digits after the decimal point.
For each test case, print a line where is replaced by the test case number and is the GPA of previous semester Shibli got, rounded to three places after the decimal point.
Input | Output |
---|---|
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 |