x1,y1,x2,y2=map(float, input().split())

if x1<x2:
    x1,x2=x2,x1
if y1<y2:
    y1,y2=y2,y1

n=((x1-x2)**2+(y1-y2)**2)**(1/2)
print(n) 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:
    x1,x2=x2,x1 x1<x2 x1 x2 x1,x2=x2,x1 x1 x2 x2 x1 if y1<y2:
    y1,y2=y2,y1 y1<y2 y1 y2 y1,y2=y2,y1 y1 y2 y2 y1 n=((x1-x2)**2+(y1-y2)**2)**(1/2) n ((x1-x2)**2+(y1-y2)**2)**(1/2) (x1-x2)**2+(y1-y2)**2 (x1-x2)**2 x1-x2 x1 x2 2 (y1-y2)**2 y1-y2 y1 y2 2 1/2 1 2 print(n) print n y2=map(float, input().split()) map(float, input().split()) y2 y2=y2,y1 y1 y2 x1,y1,x2,y2=map(float, input().split()) map(float, input().split()) x1 x1,x2=x2,x1 x2 x1 x2=x2,x1 x1 x2 y1,y2=y2,y1 y2 y1 x2,y2=map(float, input().split()) map(float, input().split()) x2 y1,x2,y2=map(float, input().split()) map(float, input().split()) y1 n=((x1-x2)**2+(y1-y2)**2)**(1/2) ((x1-x2)**2+(y1-y2)**2)**(1/2) n
x1,y1,x2,y2=map(float, input().split())

if x1<x2:
    x1,x2=x2,x1
if y1<y2:
    y1,y2=y2,y1

n=((x1-x2)**2+(y1-y2)**2)**(1/2)
print(n)
