31. Given $\overline{A B C D E F} \times B=\overline{E F A B C D}$, the same letter represents the same digit, and different letters represent different digits. Then the possible cases for $\overline{A B C D E F}$ are $\qquad$ kinds.
answer: 2