from math import sqrt print(sqrt(sum(map(lambda x: x**2, list(map(float, input().split()))))))