Problem B: Taxicab Distance

Time Limit: 1s

The "taxicab distance" between two points in space is defined to be the distance that would need to be travelled to get from one to the other using segments that are parallel to the axes. This is generally longer than the (straight-line) distance between the two points.

We know the taxicab distance between two points. We want to know the maximum straight-line distance between them if they lie in the rectangular region { (x, y) | 0 <= x <= maxX, 0 <= y <= maxY }.

Input

Standard input will contain multiple test cases. The first line of the input is a single integer T (1 <= T <= 100) which is the number of test cases. T consecutive test cases follow.

There are three integers in one line for each case, maxX maxY taxiDis (1 <= maxX, maxY <= 1,000,000 and 0 <= taxiDis <= 1,000,000).

Output

For each test case, output one line with the largest possible straight-line distance between the two points. The answer should be given as a floating point number, keep two digits after the fraction point. If no two points within the given region have the given taxicab distance, print "Impossible" instead.

Sample Input

5
10 3 3
10 3 24
7 10 13
4 4 7
976421 976421 1000000

Sample Output

3.00
Impossible
10.44
5.00
976705.66