x1,y1,x2,y2=map(float,input().split())
if x1<=x2:
    x=x2-x1
else:
    x=x1-x2

if y1<=y2:
    y=y2-y1
else:
    y=y1-y2
    
t=x**2+y**2
t1=t**(1/2)
print(f'{t1:10.8f}') x1,y1,x2,y2=map(float,input().split()) x1 map(float,input().split()) map float input().split() ().split () input split y1 x2 y2 if x1<=x2:
    x=x2-x1
else:
    x=x1-x2 x1<=x2 x1 x2 x=x2-x1 x x2-x1 x2 x1 x=x1-x2 x x1-x2 x1 x2 if y1<=y2:
    y=y2-y1
else:
    y=y1-y2
     y1<=y2 y1 y2 y=y2-y1 y y2-y1 y2 y1 y=y1-y2 y y1-y2 y1 y2 t=x**2+y**2 t x**2+y**2 x**2 x 2 y**2 y 2 t1=t**(1/2) t1 t**(1/2) t 1/2 1 2 print(f'{t1:10.8f}') print f'{t1:10.8f}' x=x2-x1 x2-x1 x t=x**2+y**2 x**2+y**2 t x1,y1,x2,y2=map(float,input().split()) map(float,input().split()) x1 y1,x2,y2=map(float,input().split()) map(float,input().split()) y1 x2,y2=map(float,input().split()) map(float,input().split()) x2 y=y2-y1 y2-y1 y t1=t**(1/2) t**(1/2) t1 x=x1-x2 x1-x2 x y2=map(float,input().split()) map(float,input().split()) y2 y=y1-y2 y1-y2 y
x1,y1,x2,y2=map(float,input().split())
if x1<=x2:
    x=x2-x1
else:
    x=x1-x2

if y1<=y2:
    y=y2-y1
else:
    y=y1-y2
    
t=x**2+y**2
t1=t**(1/2)
print(f'{t1:10.8f}')
