arr = list(map(lambda x: float(x), input().split()))
norm = 0
for i in arr:
    norm = norm + i ** 2

print(norm ** 0.5)