import math a = input() b = a.split() c = 0 for i in range(len(b)): c += float(b[i]) ** 2 ans = math.sqrt(c) print(ans)