Mr Cheong bought some fighting fishes at $10 each. He also bought an equal number of goldfishes at a different price. The average price of a fighting fish and a goldfish was $9. Mr Cheong paid $12 less for the goldfishes than the fighting fishes. How many fighting fishes did he buy?