Sam's Coffee Shop makes a blend that is a mixture of two types of coffee. Type A coffee costs Sam $5.70 per pound, and type B coffee costs $4.15 per pound. This month, Sam made 142 pounds of the blend, for a total cost of $688.50. How many pounds of type B coffee did he use?