from math import sqrt In = [float(i) for i in input().split()] print(sqrt(sum([i**2 for i in In])))