Yuan and his friends went to the movies. They ate 8 buckets of popcorn, 4 ice cream bars, and 6 boxes of chocolate. How many snacks did they eat in all?