Sarah read a novel in 20 days. She made it a habit to read 16 pages every day for the first 15 days. She then started reading 18 pages every day for the last 5 days. How many pages was the book?