Circle, Circle, Circle...

Limits 1s, 512 MB

There are 2 circles with the radius od=rod = r and oc=Roc = R and they are sharing a common center oo.

The space between the two circles is cut into nn sections (the given image has 8 sections). You need to determine the maximum radius of the circle that can be drawn in each section with these rules,

  1. The circle needs to be inside the section, will not intersect with another section or the smaller circle.

  2. oo’ is the center of the circle you are going to draw

  3. cc is the center of the acbacb arc

  4. The line oocoo’c should be a straight line

Input

Input starts with an integer TT (1T1001 \le T \le 100) denoting the number of test cases.

Each case starts with a line containing 3 integer RR, rr (1r<R10001 \le r < R \le 1000), nn (1n1801 \le n \le 180).

Output

For each case print the maximum radius of the circle that can be drawn in each section on each line.

Errors less than 10610^{-6} will be ignored.

Sample

InputOutput
1
10 5 5
2.5