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