Points diameter#4280

Points diameter

1 second
64 megabytes
Medium

There are points on a plane. Find the distance between the most distant points.

Input

The first line contains the number of points (3 \leq n \leq 10^5). Each of the next lines contains two integers: the coordinates x_i and y_i. The coordinates do not exceed 10^9 in absolute value.

Output

Print the length of the diameter of the convex hull with at least decimal places of accuracy.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading