Ivan likes painting. He decided to paint a sun.
To do that, he took n points with integer coordinates on the plane. Ivan will draw segments connecting some pairs of points to get the best sun.
Ivan wants to paint a bright, pretty sun. So he came up with the score of the sun:
What is the maximum possible score of the sun?
The first line contains a single integer t (1≤t≤104) --- the number of test cases. Description of test cases follows.
The first line of each test case contains a single integer n (3≤n≤300) --- the number of points.
Each of the next n lines contains two integers x_i, y_i (∣x_i∣,∣y_i∣≤106). All points are different. No three points lie on the same line.
It is guaranteed that the sum of n2 for all test cases does not exceed 90,000.
For each test case, print a single real number --- the maximum possible score of the sun that can be drawn.
The absolute or relative error should not exceed 10−6.
The picture of the sun with the maximum score in the fourth test case:

For this sun, S=64, P=32+45, so its score is 32+4564.