SP8670 MAXLN - THE MAX LINES

Description

In this problem you will be given a half-circle. The half-circle’s radius is _r_. You can take any point A on the half-circle and draw 2 lines from the point to the two sides of the diameter(AB and AC). Let the sum of square of one line’s length and the other line’s length is _s_ ![](https://cdn.luogu.com.cn/upload/vjudge_pic/SP8670/c09e82e94a8d3f9853f82390b8c79cd6f0c0b8e6.png)Like in the figure _s_ = _AB_ $ ^{2} $ + _AC_. And _BC_ = 2_r_. Now given _r_ you have to find the maximum value of _s_. That is you have to find point A such that _AB_ $ ^{2} $ + _AC_ is maximum.

Input Format

First line of the test case will be the number of test case T (1

Output Format

For each input line, print a line containing "Case I: ", where I is the test case number and the maximum value of _s_. Print 2 digit after decimal (Errors should be less then .01).