a, b = map(int, input().split()) def f(x): return -(x - a) * (x - b) S = [0 for _ in range(10000)] d = (b - a) / 10000 for i in range(10000): S[i] = f(a + d * i) * d print(sum(S))