Mysterious equation
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Little Vasya is very fond of equations. Once his sight caught the equation . Vasya wants to know the number of pairs of non-negative integers and , that are the solutions of this equation.
Input
One integer .
Output
Print the number of pairs of solutions.
Examples
Below given all the solutions of equation :
Input #1
Answer #1
Input #2
Answer #2
Submissions 2K
Acceptance rate 27%