x1, y1 = map(float, input().split()) x2, y2 = map(float, input().split()) dx = x2 - x1 dy = y2 - y1 d = (dx ** 2 + dy ** 2) ** 0.5 print("%.4f" % d)