import math
a = input().split()
b = 0
for i in range(len(a)):
  c += float(b[i]) ** 2
  d = math.sqrt(c)
print(d)