the number of digits used to write all pages in a book is 35. how many pages has the book?