Ashanti has been offered positions by two phone companies. The first company pays a salary of $22,000 plus a commission of $100 for each contract sold. The second pays a salary of $28,000 plus a commission of $25 for each contract sold. How many contracts would need to be sold to make the total pay the same?