A certain lottery ticket consists of a six-digit number where each digit can be from 0 to 9. How many such six-digit numbers contain at least one digit that is either 4 or 7? Let's think step by step and output the final answer within \boxed{}.
user