Mr Pang bought some swordtails at $8 each. He also bought an equal number of neon tetras at a different price. The average price of a swordtail and a neon tetra was $7. Mr Pang paid $20 less for the neon tetras than the swordtails. How many swordtails did he buy?