A social security number is a sequence of nine digits. Determine the number of social security numbers that satisfy the following conditions:
a. There are no restrictions.
b. The digit 8 is never used.
c. The sequence does not begin or end with 8.
d. No digit is used more than once.