import math

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

p=math.sqrt((x1-x2)**2+(y1-y2)**2)

print(p)

(n,m,o,p) = list(map(float, input().split()))

print(((n-o)**2 + (m-p)**2)**0.5)

import math

x1, y1, x2, y2 = list(map(float, input().split()))
p = math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2)
print(p)

(n, m, o, p) = list(map(float, input().split()))
print(((n - o) ** 2 + (m - p) ** 2) ** 0.5)

-import math - -x1, y1, x2, y2 = list(map(float, input().split())) -p = math.sqrt((x1 - x2) ** 2 + (y1 - y2) ** 2) -print(p) +(n, m, o, p) = list(map(float, input().split())) +print(((n - o) ** 2 + (m - p) ** 2) ** 0.5)