Hui decides to reread her favorite book, “Math Wonders”. On the first day, she reads of the book plus pages. On the second day, she reads of the remaining pages plus pages. The third day, she reads of what's left plus pages. Afterwards, Hui notices there are exactly pages left, which she completes on the fourth day. Determine the total number of pages in the book.