from functools import reduce arr = list(map(float, input().split())) print(reduce(lambda a, x: a + x ** 2, arr, 0) ** 0.5)