Mary typed a six-digit number, but the two $1$s she typed didn't show. What appeared was $2002.$ How many different six-digit numbers could she have typed?

Let's think step by step and output the final answer within \boxed{}.
user