Problems
Remainders
Remainders
After Fuad got acquainted with the remainder operator, he thought about the next mathematical problem. He wonders how to compute $(n~mod~1) + (n~mod~2) + ... + (n~mod~m)$.
Here $mod$ represents the remainder operator and $(x~mod~y)$ represents the remainder obtained when $x$ is divided by $y$. For example $(8~mod~3) = 2$.
Find the value of the above expression for the given positive integers $n$ and $m$.
\InputFile
Two integers $n$ and $m~(1 \le n, m \le 2 \cdot 10^9)$.
\OutputFile
Print the value of the given expression.
Input example #1
5 3
Output example #1
3
Input example #2
3 3
Output example #2
1
Input example #3
1 1
Output example #3
0