Mr Peh bought some swordtails at $10 each. He also bought an equal number of fighting fishes at a different price. The average price of a swordtail and a fighting fish was $6. Mr Peh paid $32 more for the swordtails than the fighting fishes. How many swordtails did he buy?