Triple Deluxe


There is nothing that Parsa loves more than point-based geometry problems so he has one for you.

Parsa has a set of nn distinct points. He chooses 3 points at uniformly at random. If they are collinear, he chooses again. Otherwise, he finds the area of the triangle made by the three points.

What is the expected area of the triangle?

Input

The first line has nn, the number of points Parsa has (3≤n≤200)(3 \le n \le 200)

nn lines follow, each with xiyix_i y_i, the coordinates of a point Parsa has −1e5≤xi,yi≤1e5 -1e5 \le x_i, y_i \le 1e5.

All points are distinct and guaranteed to not be all collinear.

Output

Write the expected area of a triangle that Parsa chooses. Answers with a relative or absolute error less and 1e-6 will be accepted.

Sample Input

Input 1
5
3 1
5 5
2 -4
3 -1
2 -3

Output 1
1.3888888888888888

Input 2
6
7 2
-5 4
-1 -10
-6 -3
-8 9
-7 6

Output 2
35.5

Input 3
3
6 7
-16 -11
20 0

Output 3
203.0

Comments0


No comments yet

Be the first to comment.

New comment


Log in to join the discussion.