A group of friends had dinner at a restaurant. The meal cost $120. There was a 7% tax on the cost of the meal. The group paid a tip that was 15% of the cost of the meal.

A: How much was the tax? B: How much was the tip? C: The 5 friends shared the total cost of the meal equally among themselves. How much did each of them have to pay?