Hide

Problem E
Divisors of a sum

Languages en is

You are given a positive integer n and should print the number of positive divisors the sum 1+2++n has.

Input

The first and only line of input contains a positive integer n1015.

Output

Print the number of positive divisors the sum 1+2++n has.

Sample Input 1 Sample Output 1
500
32
Hide

Please log in to submit a solution to this problem

Log in