Samantha has 5 books. Each book has 120 pages. She reads 30 pages from each book and then decides to read an additional 40 pages from two of the books. How many pages has Samantha read in total? Let's think step by step and output the final answer within \boxed{}.
user