Easy Geometry

No attempts yetTime limit1sMemory limit128 MB

Problem

Eva studies geometry. The current topic is convex polygons, but Eva prefers rectangles. Her workbook has several convex polygons drawn in it, and she wants to know the area of the largest rectangle that fits inside each of them.

Help Eva. Given a convex polygon, find the largest possible area of a rectangle that fits inside it. The sides of the rectangle must be parallel to the coordinate axes.

Input

The first line contains a single integer nn, the number of sides of the polygon (3n1000003 \le n \le 100\,000). Each of the following nn lines contains the Cartesian coordinates of one vertex of the polygon, two integers xix_i and yiy_i (109xi,yi109-10^9 \le x_i, y_i \le 10^9). The vertices are given in clockwise order.

The polygon is convex.

Output

Print one line with the largest area of a rectangle that fits inside the polygon and has its sides parallel to the coordinate axes, rounded to six digits after the decimal point. Always print all six digits.

No answer in the input data lies on a rounding boundary.