Keenan bought 9 books about plants and 6 books about fish. He also bought 8 science magazines. Each book cost $20 and each magazine cost $3. How much did Keenan spend in all?