I will assume you do not allow a leading zero
this will be a 3 digit number to be less than 1000
you have 3 choices for the first number (since we cannot use zero)
then you have 3 choices for the second number
and finally 2 choices for the third number
3 x 3 x 2 = 18 numbers BUT two of the choices are identical ('8' s)
so the options are divided by 2 18 / 2 = 9 numbers
Ok....incorrect...hmmmm
no leading zero so you have only two choices for the first digit 2 or 8
then you have three choices for the next digit
and two for the last digit 12 numbers (maybe?) Just kinda guessing now. 