A shopkeeper sold an article at a loss of 20%. If the selling price had been increased by ₹100, there would have been a gain of 5%. What was the cost price of the article?