r=map(float,raw_input().split())
x=r[0]-r[2]
y=r[1]-r[3]
if x<0:
        x=x*-1
if y<0:
        y=y*-1
print (x**2+y**2)**0.5 r=map(float,raw_input().split()) r map(float,raw_input().split()) map float raw_input().split() ().split () raw_input split x=r[0]-r[2] x r[0]-r[2] r[0] r 0 r[2] r 2 y=r[1]-r[3] y r[1]-r[3] r[1] r 1 r[3] r 3 if x<0:
        x=x*-1 x<0 x 0 x=x*-1 x x*-1 x -1 if y<0:
        y=y*-1 y<0 y 0 y=y*-1 y y*-1 y -1 print (x**2+y**2)**0.5 print (x**2+y**2) print x**2+y**2 x**2 x 2 y**2 y 2 0.5 y=y*-1 y*-1 y x=r[0]-r[2] r[0]-r[2] x y=r[1]-r[3] r[1]-r[3] y x=x*-1 x*-1 x r=map(float,raw_input().split()) map(float,raw_input().split()) r
r=map(float,raw_input().split())
x=r[0]-r[2]
y=r[1]-r[3]
if x<0:
        x=x*-1
if y<0:
        y=y*-1
print (x**2+y**2)**0.5