SP8325 PARTPLNE - Partitioning the plane

Description

You are given the coordinates of 4\*K+5 points on a plane such that no three of them are collinear. You need to select five points from these : a central point O and four arm points A,B,C,D such that: - Rays from the centre to the arm points divide the plane into four regions containing an equal number of points - None of the four central angles is a reflex angle - Sum of absolute values of the cotangents of the central angles is as low as possible If it is possible to choose points satisfying this condition, output the lowest possible value for the sum of absolute values of the cotangents of the central angles. Otherwise report that it is not possible.

Input Format

The first line of input contains T(

Output Format

For each test case output in a different line the minimum sum of absolute values of the cotangents of the central angles, with six digits after the decimal point. If the division cannot be done in the manner explained, print Impossible