Daniel is planning a party and needs to buy snacks. He finds that a box of cookies costs $4, a bag of chips costs $3, and a pack of soda costs $6. He wants to buy 2 boxes of cookies, 3 bags of chips, and 4 packs of soda. How much money will Daniel spend in total?