The cost of a movie ticket for a group of friends is $24. They buy 3 snacks. The cost of each snack is the same. The group spends $43.50 total for tickets and snacks. How much does each snack cost?