x1,y1,x2,y2=map(float,raw_input().split())
x=x2-x1
y=y2-y1
print (x**2+y**2)**0.5 x1,y1,x2,y2=map(float,raw_input().split()) x1 map(float,raw_input().split()) map float raw_input().split() ().split () raw_input split y1 x2 y2 x=x2-x1 x x2-x1 x2 x1 y=y2-y1 y y2-y1 y2 y1 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 x=x2-x1 x2-x1 x y=y2-y1 y2-y1 y y2=map(float,raw_input().split()) map(float,raw_input().split()) y2 x2,y2=map(float,raw_input().split()) map(float,raw_input().split()) x2 y1,x2,y2=map(float,raw_input().split()) map(float,raw_input().split()) y1 x1,y1,x2,y2=map(float,raw_input().split()) map(float,raw_input().split()) x1
x1,y1,x2,y2=map(float,raw_input().split())
x=x2-x1
y=y2-y1
print (x**2+y**2)**0.5