Remainders sum#3764

Remainders sum

1 second
256 megabytes
Hard

Today at school Petya learnt what is the remainder and how to find it. To practice a bit, he took some integer and calculated the sum of all remainders after dividing it by all integers from to . For example, for n = 6, remainders will be , , , , , and , so their sum is . Now to check his calculations he asks you to write a program to calculate this sum for any .

Input

The only line of input contains integer (1 \le n \le 10^9).

Output

Output the sum of remainders.

Examples

Example 1

Loading
Loading