Inheritance#1688

Inheritance

1 second
64 megabytes
Medium

Two brothers inherited from their father a piece of land in the shape of a convex polygon, with posts at each vertex. According to their father's will, they must divide the land by drawing a straight line through any two posts. Help them divide the land so that the areas of the resulting parts differ by the smallest possible amount. Output the areas in non-decreasing order.

Input

The first line contains a single integer (4 \leq N \leq 10000), the number of posts. Each of the next lines contains two integers, the coordinates of a post. The absolute value of each coordinate does not exceed 10^9.

Output

Output two numbers in non-decreasing order, representing the areas of the two divided parts, with an accuracy of 10^{-2}.

Examples

Example 1

Loading
Loading