The positive integer m is called a smooth divisor of n if the quotient and remainder of dividing n by m are equal. The positive integer n is given. Find the number of its smooth divisors.
The positive integer n(1≤n≤106).
Print the required number of smooth divisors for number n.