Isabella had a week to read a book for a school assignment. She read an average of 3636 pages per day for the first three days and an average of 4444 pages per day for the next three days. She then finished the book by reading 1010 pages on the last day. How many pages were in the book?