Mailing Origami

No attempts yetTime limit1sMemory limit256 MB

Problem

You want to mail a piece of origami you folded to your mom.

The postage depends on the area of the envelope: the smaller the envelope, the cheaper the shipment. You cannot fold the origami again to make it smaller, and the envelope has to be rectangular. The envelope may be turned to any angle, so its sides do not have to be parallel to the coordinate axes.

The outline of the origami is given as NN vertices listed in order along its boundary, and the boundary may fold back over itself. Find the area of the smallest rectangular envelope that contains the origami.

Input

The first line contains the integer NN, the number of vertices of the origami (3N1000003 \le N \le 100000).

Each of the next NN lines contains two integers xx and yy, the coordinates of one vertex (0x1070 \le x \le 10^7, 0y1070 \le y \le 10^7). All vertices are distinct, and no single line contains all of them.

Output

Print the area of the smallest envelope that contains the origami, rounded to the nearest integer. No input has a smallest envelope whose area has a fractional part between 0.49 and 0.51.