Let n be a positive integer. The number d is its divisor if 1≤d≤n and the remainder after dividing n by d is zero. Find the sum of divisors of number n.
One integer n (1≤n≤1018), all its prime divisors do not exceed 1000.
Print the sum of divisors of number n.
The divisors of 12 are: 1,2,3,4,6,12. The sum of divisors is 1+2+3+4+6+12=28.