l=[float(s) for s in input().split()]
v=0
for i in l:
    v+=(float(i)**2)
print(v**0.5)