#abc234b. [abc234_b]Longest Segment

[abc234_b]Longest Segment

Problem Statement

There are NN points in a two-dimensional plane. The coordinates of the ii-th point are (xi,yi)(x_i,y_i).

Find the maximum length of a segment connecting two of these points.

Constraints

  • 2leqNleq1002 \\leq N \\leq 100
  • \-1000leqxi,yileq1000\-1000 \\leq x_i,y_i \\leq 1000
  • (xi,yi)neq(xj,yj)(ineqj)(x_i,y_i) \\neq (x_j,y_j)\\ (i \\neq j)
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

NN x1x_1 y1y_1 x2x_2 y2y_2 hspace0.4cmvdots\\hspace{0.4cm} \\vdots xNx_N yNy_N

Output

Print the maximum length of a segment connecting two of the points.

Your answer will be considered correct when the absolute or relative error from the judge's answer is at most 10610^{-6}.


Sample Input 1

3
0 0
0 1
1 1

Sample Output 1

1.4142135624

For the 11-st and 33-rd points, the length of the segment connecting them is sqrt2=1.41421356237dots\\sqrt 2 = 1.41421356237\\dots, which is the maximum length.


Sample Input 2

5
315 271
-2 -621
-205 -511
-952 482
165 463

Sample Output 2

1455.7159750446