For numbering the pages of an encyclopedia the printer used 2989 digits. How many pages did the book contain?
A librarian used 2893 digits to number the pages of a book. How many pages does the book have?