SP14443 CIRCLE_H - Three Circle Problem (HARD)

Description

Given 3 distinct circles with positive integer radius **R1**, **R2**, and **R3**, and arranged like in the picture below: ![Three Circle Problem](http://2.bp.blogspot.com/--iPB1gKWYoI/UV9VOPlVd2I/AAAAAAAAASM/c874mfDdhSU/s1600/circle+upload.png "Three Circle Problem") Now, your task is to compute radius of small circle that can be created like yellow circle in the picture above. All circles in the picture above tangent each other.

Input Format

The first line in the input data, there is an integer **T**(0 < **T** T lines follow. For each lines, there are three integer **R1**, **R2**, and **R3**, (0 < {**R1**,**R2**,**R3**} < 10 $ ^{30} $ ) denoting radius of each circle like in the picture above.

Output Format

For each test case, output radius of small circle that can be made, like in the picture above. Truncate the output to 50 digit after decimal point.