array = [float(i) for i in input().split()]
sum = 0
for i in array:
    sum += (i ** 2)

print(sum ** 0.5)