Remainders#11403

Remainders

1 second
128 megabytes
Medium

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) + \ldots + (n~mod~m).

Here represents the remainder operator and (x~mod~y) represents the remainder obtained when is divided by . For example (8~mod~3) = 2.

Find the value of the above expression for the given positive integers and .

Input

Two integers and m~(1 \le n, m \le 2 \cdot 10^9).

Output

Print the value of the given expression.

Examples

Example 1

Loading
Loading

Example 2

Loading
Loading

Example 3

Loading
Loading