eolymp
Problems

The biggest party of the quadrilateral

The biggest party of the quadrilateral

Problems in the plane quadrilateral coordinates of its vertices. Calculate the length of the longest side of the quadrangle.

Input

In a single line separated by spaces X and Y coordinates of vertices of the quadrilateral: first, the point A, then B, then C and D. All input data are integers not exceeding modulo 100.

Output

A single number - the length of longest side. The result is output to two decimal places.

Time limit 1 second
Memory limit 64 MiB
Input example #1
3 5 6 6 7 2 1 1
Output example #1
6.08