Reference answer: 5904
11. When programming on a computer to print the first 10000 natural numbers greater than 0: $1,2,3, \cdots, 10000$, unfortunately, the printer has a fault, and it prints $x$ every time it prints the digits 7 or 9. How many numbers are printed incorrectly?