A shopkeeper sold an article at a gain of 5%. If he had sold it for Rs. 16.50 less, he would have lost 5. Find the cost price of the article.