**Problem Description**

For example, a 27-inch diameter wheel has a circumference of 84.82293 inches (if we use the approximation of 3.14159 for PI). A cyclist using a 52/15 setup would be riding a (52/15) * 84.82293 = 294.052824 inch gear. You'll be given the set of cogs on a bicycle and the diameter of the rear wheel. You'll also be given a target gear size and must then find the closest setup to that target.

**Input**

There will be multiple problem instances. The first line is a positive integer n indicating the number of problem instances to follow. Each of the next n lines will contain input for one problem instance. This line will consist of 14 positive integers in the form:

f1 f2 f3 r1 ... r9 diameter target

where f1 < f2 < f3 are the three front cogs and r1 < r2 < .. < r9 are the nine rear cogs, diameter is the diameter of the wheel and target is the target gear size.

**Output**

You should generate one line of output for each problem instance. This line should be of the form:

A gear selection of ff/rr produces a gear size of size.

where size is the closest computed gear size, rounded and displayed to three places, and ff/rr is the front cog/rear cog setup used for that gear size. (Use the approximation PI = 3.14159 in your calculations.) If there is a tie for the closest size, use the one that uses the smallest front cog.

Separate outputs for problem instances with a blank line.

**Sample Input**

3 32 42 52 12 13 14 15 16 17 21 24 27 27 294 30 40 50 15 16 17 18 19 21 23 27 29 26 141 28 39 48 15 17 18 19 21 24 25 27 31 24 259

**Sample Output**

A gear selection of 52/15 produces a gear size of 294.053. A gear selection of 50/29 produces a gear size of 140.830. A gear selection of 48/15 produces a gear size of 241.274.

**Source**

East Central North America 2002,Practice