import math a = list(map(float,input().split())) b = [] for i in a: b.append(i*i) c = sum(b) e = math.sqrt(c) print(e)