Set the table for tea#6359

Set the table for tea

1 second
64 megabytes
Medium

While in London, our heroes visited their good friend, Mr. Lan Network. As it was approaching five o'clock, Mr. Network invited Kotyhoroshko and his companions for a traditional English tea. Mr. Network's table was rectangular, but all the available tablecloths were perfectly square.

Mr. Kotsky was curious: what is the smallest area of a square tablecloth that can fully cover Mr. Network's table?

Input

The input consists of lines, each containing two real numbers. These numbers represent the coordinates of the corners of Mr. Network's table, listed sequentially around the perimeter. Each number is provided with a precision of two decimal places and does not exceed in absolute value.

Output

The output should display the smallest area of the square tablecloth that can completely cover the rectangular table, with a precision of at least 10^{-5}.

Examples

Example 1

Loading
Loading