import sys
print(sum(map(lambda x: x ** 2, list(map(float, sys.stdin.read().split())))) ** (1/2))