Mohit sold a watch to Karim at a gain of 10% and Karim sold it to Rahim at a gain of 4%. If Rahim pays Rs. 14300 for it, for how much did Mohit purchase it?