A shop purchased some shoes at $$ $65$$ per pair. It then sold them at $$ $74$$ per pair. The shopkeeper calculated that the profit earned was $$ $440$$ when there were $$5$$ pairs of shoes left. How many pairs of shoes did the shop purchase initially? 
Overseas Competition->Knowledge Point->Word Problem Modules->Word Problems in Economics->Basic Profit and Loss Concepts