Jessie made 312 energy bars. She puts 24 bars in each bag. She plans to sell the bags for $6 each. How much will she earn if she sells all of the bags? Will give brainliest.