Pre PYQs CSAT

UPSC Prelims 2019 CSAT question 53

A printer numbers the pages of a book starting with 1 and uses 3089 digits in all. How many pages does the book have ?