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 .
The only line of input contains integer (1 \le n \le 10^9).
Output the sum of remainders.
Example 1