eolymp
bolt
Try our new interface for solving problems
Problems

Geometry Paradox

Geometry Paradox

Time limit 1 second
Memory limit 64 MiB

In the picture below you can see two small circles touching each other. The larger circle touches both pf them. The length of the common tangent inscribed inside the larger circle is t and the radiuses of the two smaller circles are r_1 and r_2. The centers of the three circles are collinear. You will be given the value of r_1 and r_2 or the value of t. You will have to find the area that is within the larger circle but out of the two smaller circles (marked gray in the picture). If the given data is not enough to find the gray area, print the line "Impossible." in a single line.

Input data

The first line contains the number of test cases n (n ≤ 100). Each of the next n lines contain a set of input.

Each set either contains one or two integer. If it contains one integer then it is the value of t, otherwise the two values are the values of r_1 and r_2. All these integers are less than 100.

Output data

For each line of input produce one line of output. This line contains the area of the gray part if the given information is enough to find the area of the gray part. Otherwise it contains the line "Impossible." The area should have four digits after the decimal point.

Examples

Input example #1
2
10 10
15 20
Output example #1
628.3185
1884.9556