Problem
Near the planet Mars, in a faraway galaxy eerily similar to our own,
there is a fight to the death between the imperial forces and the
rebels. The rebel army has N ships which we will consider as points
If the cruiser is placed at
(x_{i}  x + y_{i}  y + z_{i}  z) / p_{i}
Your task is to find the position for the cruiser that minimizes the power required for its transmitter, and to output that power.
Input
The first line of input gives the number of cases, T. T test cases follow.
Each test case contains on the first line the integer N, the number of ships in the test case.
N lines follow, each line containing four integer numbers x_{i}, y_{i}, z_{i} and p_{i}, separated by single spaces. These are the coordinates of the ith ship, and the power of its receiver. There may be more than one ship at the same coordinates.
Output
For each input case, you should output:
Case #X: Ywhere X is the number of the test case and Y is the minimal power that is enough to reach all the fleet's ships. Answers with a relative or absolute error of at most 10^{6} will be considered correct.
Limits
1 ≤ T ≤ 10
0 ≤ x_{i}, y_{i}, z_{i} ≤ 10^{6}
1 ≤ p_{i} ≤ 10^{6}
Small dataset
1 ≤ N ≤ 10
Large dataset
1 ≤ N ≤ 1000
Sample
Input 
Output 
3

Case #1: 3.500000

In the first test case, the four ships have coordinates (0, 0, 0), (1, 2, 0), (3, 4, 0), (2, 1, 0) and powers 1, 1, 1, 1 respectively. We can place a cruiser with the power 3.5 at the coordinates (1.5, 2, 0) which will be able to reach all the ships.
In the second case we can place the cruiser right on top of the ship, with transmitter power 0.
Points  Correct  Attempted 

10pt  192  398 
20pt  128  206 