Question 1
Given $\overline{XYZ}+\overline{ZYX}=\overline{ABAA}$, where $A,B,X,Y,Z$ are five different positive single-digit numbers, how many ordered pairs $(X,Z)$ satisfy the equation? Swapping $X$ and $Z$ counts as a different pair.

**Input:** Enter the integer only, without units.

**Input:** Enter the integer only, without units.