o = [i ** 0.5 for i in list(map(int, input().split()))] print(sum(o))