A dealer sells a toy for ₹24 and gains as much percent as the cost price of the toy. Find the cost price of the toy.