If you wrote all of the numbers from 300 to 400 on a piece of paper, how many times would you have written the number 3?

If you wrote all of the numbers from 300 to 400 on a piece of paper, how many times would you have written the number 3?