Mr Kok bought some fighting fishes at $9 each. He also bought an equal number of mollies at a different price. The average price of a fighting fish and a molly was $6. Mr Kok paid $24 less for the mollies than the fighting fishes. How many fighting fishes did he buy?