Tangent to the sphere
Three spheres are given in a space. Find all their common tangent planes.
Input
The number of the tests M is given in the first row. The following 3M lines describe the spheres themselves. Each sphere is described by four numbers: the coordinates of the center and the radius. All input numbers are integers; their coordinates range from -500 to +500, the radius is greater than zero and does not exceed 500. The sphere centers do not coincide and lie on a straight line.
Output
For each test case print the number of different tangent planes K. The following K lines must describe these planes. Each line should contain four integers A, B, C, D, describing the plane Ax + By + Cz = D, such that A^2 + B^2 + C^2 = 1. The planes descriptions may be printed in any order. The numbers must be printed with the accuracy no less than 5 digits after the decimal point.