The sum of divisors
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Let be a positive integer. The number is its divisor if and the remainder after dividing by is zero. Find the sum of divisors of number .
Input
One integer , all its prime divisors do not exceed .
Output
Print the sum of divisors of number .
Examples
The divisors of are: . The sum of divisors is .
Input #1
Answer #1
Input #2
Answer #2
Submissions 5K
Acceptance rate 19%