## Mr. White's Carnival

View as PDF

Points: 3
Time limit: 2.0s
Memory limit: 64M

Authors:
Problem type

Navidur went to the carnival and played the stereotypical hit something with a big hammer as hard as you can. When he hit the platform, the puck flew up exactly meters. Now, the carnival is actually hosted by Mr. White, so the scoring is a little strange this time around. Navidur's score is the sum of all the positive factors of . What's his score?

#### Input Specification

The input will be a single integer .

#### Output Specification

Output the sum of the positive factors of .

#### Sample Input

27

#### Sample Output

40