Question 1044275
8 choices for A (*not* 7!)
9 choices for B
7 choices for C
10 choices for D
10 choices for X


Once A, B, C, D, X are picked, the number is determined. Also, every choice of (A,B,C,D,X) gives a unique number.


# of possible numbers = 8*9*7*10*10