You are given a convex N-gon. No three diagonals meet at the same point. Count the number of points inside the polygon where two diagonals intersect.
A polygon is convex if every interior angle is less than 180 degrees.
The first line contains an integer N. (3 ≤ N ≤ 100)
Print the number of diagonal intersection points.