LearnPy Hub
← Arena
IntermediateRating 1200

Sum of Divisors

Print the sum of all positive divisors of n.

Input

One integer n (1 ≤ n ≤ 10¹²).

Output

The sum.

Sample 1

Input
12
Output
28

Sample 2

Input
1
Output
1
solution.py
Output appears here
Sum of Divisors · Python Arena problem · LearnPy Hub