Nikki spent $59.29 on clothing. She bought 3 shirts and a pair of pants. The pair of pants cost $21.29. If each shirt cost the same amount, how much did each shirt cost?