import math
r = math.sqrt(sum(map(lambda x:x**2, map(float, input().split()))))
print(r)