eolymp
bolt
Try our new interface for solving problems
Problems

The biggest party of the quadrilateral

The biggest party of the quadrilateral

Time limit 1 second
Memory limit 64 MiB

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

Input data

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 data

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

Examples

Input example #1
3 5 6 6 7 2 1 1
Output example #1
6.08