Manoj purchased a video for Rs. 12000. He sold it to Rahul at a gain of 10%. If Rahul sells it to Rakesh at a loss of 5%, what did Rakesh pay for it?