Given three integers $n$, $m$, $k$, find the number of pairs $(a, b)$ where
Note: $x$ is a rational number if and only if there exists two integers $p$ and $q$ ($q \neq 0$) where $x = \frac{p}{q}$.
The input consists of several test cases terminated by end-of-file. For each test case,
The first line contains three integers $n$, $m$ and $k$.
For each test case, output an integer which denotes the number of pairs.
For the first test case, only the equation $x^2=0$ has one rational root.
For the second test case, each of the following $7$ equations has two distinct rational roots.