[IQ challenges]

What’s the answer?

Your new office building contains 100 rooms. The company hired Richard to paint the numbers from 1 to 100 on the doors in the building. How many times will Richard have to paint the number 8?