from functools import reduce; import math; print(reduce(lambda x, y: math.sqrt(x*x + y*y), list(map(float, input().split()))))