Fear Factoring

Given a and b up to 1e12 with b-a at most 1e6, sum the divisor sums F(n) over every n in [a, b].

Medium7Number theoryMathImplementationBrute forceNo attempts yetTime limit1sMemory limit512 MB

Problem

The Slivians are afraid of factoring. It is, well, difficult.

They do not even care about the factors themselves, only about how much they sum to.

Define F(n)F(n) as the sum of all factors of nn, so F(6)=12F(6) = 12 and F(12)=28F(12) = 28. Given two integers aa and bb with aba \le b, compute

S=anbF(n)S=\sum_{a \le n \le b} F(n)

Input

The first line contains two integers aa and bb separated by a space. (1ab10121 \le a \le b \le 10^{12}, ba106b - a \le 10^{6})

Output

Print SS on a single line.