Anil sells a table to Kamal at a profit of 10% and Kamal sells it to Rajat at a profit of 12%. If Rajat pays Rs. 246.40 for it, then how much had Anil paid for it?