In a far away galaxy the chicken delivery chain No Chicken Inc. is opening one new branch. The planets that the new branch will serve are already settled, and the coordinates of all N of them have been collected.
Keeping the longest delivery short is what matters, so the branch goes at the position that minimizes the distance to the farthest planet. The branch is a single spaceship, so it can trade while landed on a planet or while floating in open space. Treat every planet as a point with no volume.
Given the number of planets N and the three dimensional Cartesian coordinates of each planet, write a program that finds the branch position whose distance to the farthest planet is smallest.
Input is read from standard input. The first line holds the number of test cases T (1≤T≤20).
The first line of each test case holds the number of planets N (1≤N≤5000). Each of the next N lines holds the three dimensional Cartesian coordinates x, y, z of one planet, separated by single spaces. Every coordinate is a real number between −1000 and 1000, given with up to four digits after the decimal point.
Write to standard output. Print one line per test case holding four real numbers separated by single spaces. The first number is the distance from the branch to the farthest planet, and the second, third and fourth are the x, y, z coordinates of the branch. Round all four numbers at the fifth decimal place and print four digits after the decimal point.
Only one position minimizes the distance to the farthest planet, so the answer is unique. The input data keeps all four printed numbers far enough from a rounding boundary that the rounded result is never ambiguous.