1222 : radius

时间限制Time Limit 1 Sec 内存限制Memory Limit 128 MB 提交次数Submitted 60 Times 通过次数Solved 16 Times 特判评测Special Judge

题目描述Description

There are \(n\) distinct points in three-dimensional space,the coordinate of the i-th point is represented by \((x_i,y_i,z_i)\).

A compliant sphere is defined as having its center on the coordinate axis, and at least \(\lfloor n / 2 \rfloor\) points within or on its surface. What is the minimum radius of the compliant sphere.

输入格式Input

The first line contains an integer \(n (1 \leq n \leq 10000)\).

Next n lines each contains three integers \(x_i , y_i, z_i.(\mid x_i\mid , \mid y_i \mid, \mid z_i \mid \leq 10000)\).

输出格式Output

The minimum radius.

Your answer will be considered correct if its absolute or relative error does not exceed \(10^{-6}\).

样例Sample