A store sells 8 small, 18 medium, and 20 large sweatshirts. Each sweatshirt costs $16. How much money, m, is the store paid for all the sweatshirts they sell?