Sumaiya has not her homework and as a punishment his teacher makes him write on a place of paper all the numbers from 1 to 2007(writing each number only once). Hw many times Sumaiya have to write the digit?
This question has no short answer. Try it yourself, then compare with the solution.