During a back-to-school shopping trip, a group of friends spent 245.86 on 14 shirts and pants. Each shirt cost 11.99. Each pair of pants cost 24.99. How many shirts and pairs of pants did the group buy?
a. Write a system of equations to model the information in the problem.