Natalie is paid for writing numbers on pages of a book. She is paid for writing each digit of the number. If she wrote 702 digits, how many pages is the book?