import math
List = [float(i) for i in input().split()]
Sum = 0
for i in List:
    Sum += i**2
print(math.sqrt(Sum))