from math import sqrt, pow
vector =  list(map(float, (input().split())))
l2 = sqrt(sum(map(lambda x: pow(x, 2), vector)))
print(l2)