Ve=[float(i) for i in input().split()]
Su=0.0
for i in range(len(Ve)):
  Ve[i]=Ve[i]*Ve[i]
  Su+=Ve[i]
Su=Su**(0.5)
print(Su)