22. $D = \begin{vmatrix} 10^4 + 2 & 10^7 + 3 & 10^8 + 8 \\ 10^9 + 9 & 10^2 + 8 & 10^3 - 4 \\ 10^3 - 5 & 10^8 + b & 10^6 + a \end{vmatrix}$ where $a, b$, both $\in \{1,2,3,4,5,6,7,8,9\}$Number of ordered pairs $(a, b)$ such that $D = 2n + 1, n \in Z$ is