import math sum = 0 for i in input().split(): sum += float(i) ** 2 print(math.sqrt(sum))