Mrs. Jurrens bought three shirts and one pair of pants. Each shirt cost $7.99, and the pair of pants cost $12. What was her total cost?