Mr Loo bought some swordtails at $9 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 $8. Mr Loo paid $8 more for the swordtails than the neon tetras. How many swordtails did he buy?