Minimum Triangulation
You are given a regular polygon with vertices labeled from to in counter-clockwise order. The triangulation of a given polygon is a set of triangles such that each vertex of each triangle is a vertex of the initial polygon, there is no pair of triangles such that their intersection has non-zero area, and the total area of all triangles is equal to the area of the given polygon. The weight of a triangulation is the sum of weigths of triangles it consists of, where the weight of a triagle is denoted as the product of labels of its vertices.
Calculate the minimum weight among all triangulations of the polygon.
Input
One integer — the number of vertices in the regular polygon.
Output
Print the minimum weight among all triangulations of the given polygon.
Examples
In the first test case a triangle with labels is given. Its weight is .
The second test case is a square with labels . We shall get the minimum weight for a triangulation with the diagonal . It is equal to .