Printer A can print 30 pages per minute. Printer B can print 40 pages per minute. Printer B begins printing 3 minutes after Printer A begins printing. Both printers stop printing 10 minutes after Printer A started. Together, how many pages did the two printers print?