A positive integer is called a smooth divisor of a number if, when dividing by , the quotient and the remainder are equal. Given a positive integer , find the number of its smooth divisors.
One positive integer (1 \le n \le 10^6).
Print a single number — the number of smooth divisors of .
Example 1