A company purchased 10,000 pairs of men's slacks for $19.16 per pair and marked them up $22.43. What was the selling price of each pair of slacks? Use the formula S=C+M