from scipy import integrate a, b = map(int, input().split()) y = lambda x: (x - a) * (x - b) ans, err = integrate.quad(y, a, b) print(abs(ans))