s = 0 for i in map(lambda x: abs(float(x)), __import__('sys').stdin.read().split()): s += i**2 print(s ** (1/2))