a = map(lambda x: float(x)**2, input().split()) print(str(sum(a)**0.5))