In the year of 3000 travelling around parallel realities became a routine thing. However one has to take into consideration that travelling like that is highly dangerous as you never know beforehand where you're gonna get...

Little Vasya, for instance, found himself in a gaming reality and now he has to successfully complete all levels of a very weird game to get back. The gaming reality is a three-dimensional space where *n* points are given. The game has *m* levels and at the beginning of the *i*-th level the player is positioned at some plane *Q*<sub class="lower-index">*i*</sub> that passes through the origin. On each level Vasya has to use special robots to construct and activate *n* powerful energy spheres of the equal radius with centers at the given points. The player chooses the radius of the spheres himself. The player has to spend *R* units of money to construct spheres whose radius equals *R* (consequently, one can construct spheres whose radius equals zero for free). Besides, once for each level a player can choose any point in space and release a laser ray from there, perpendicular to plane *Q*<sub class="lower-index">*i*</sub> (this action costs nothing). The ray can either be directed towards the plane or from the plane. The spheres that share at least one point with the ray will be immediately activated. The level is considered completed if the player has managed to activate all spheres. Note that the centers of the spheres are the same for all *m* levels but the spheres do not remain: the player should construct them anew on each new level.

Help Vasya find out what minimum sum of money will be enough to complete each level.
The first line contains two integers *n* and *m* (1 ≤ *n* ≤ 900, 1 ≤ *m* ≤ 100) — the number of energetic spheres and the number of levels in the game correspondingly. 

Each of the following *n* lines contains three integers *x*<sub class="lower-index">*i*</sub>, *y*<sub class="lower-index">*i*</sub>, *z*<sub class="lower-index">*i*</sub> (0 ≤ *x*<sub class="lower-index">*i*</sub>, *y*<sub class="lower-index">*i*</sub>, *z*<sub class="lower-index">*i*</sub> ≤ 10<sup class="upper-index">4</sup>) — the coordinates of the center of the *i*-th sphere. Assume that these points do not change their positions throughout the game.

Then follow *m* lines, each containing three integers *a*<sub class="lower-index">*i*</sub>, *b*<sub class="lower-index">*i*</sub>, *c*<sub class="lower-index">*i*</sub> (0 ≤ *a*<sub class="lower-index">*i*</sub>, *b*<sub class="lower-index">*i*</sub>, *c*<sub class="lower-index">*i*</sub> ≤ 100, *a*<sub class="lower-index">*i*</sub><sup class="upper-index">2</sup> + *b*<sub class="lower-index">*i*</sub><sup class="upper-index">2</sup> + *c*<sub class="lower-index">*i*</sub><sup class="upper-index">2</sup> &gt; 0). These numbers are the coefficients in the equation of plane *Q*<sub class="lower-index">*i*</sub> (*a*<sub class="lower-index">*i*</sub>*x* + *b*<sub class="lower-index">*i*</sub>*y* + *c*<sub class="lower-index">*i*</sub>*z* = 0), where the player is positioned at the beginning of the *i*-th level.
print("_RANDOM_GUESS_1693764415.8652651")# 1693764415.865283