How many numbers between 200 and 300 contain the number 6 in either units or tens place?
How many numbers are there between 100 and 1000 such that every digit is either 2 or 9?