Kai cuts out all the page numbers of a book. He takes each number and cuts the numbers into separate digits (single digit numbers are already separate). Given that the book has 999 pages numbered 1 through 999, what is the sum of all of these digits?