Mr. Mani invested an amount of Rs. 12000 at the simple interest rate of 10% per annum and another amount at the simple interest rate of 20% per annum. The total interest earned at the end of one year on the total amount invested became 14% per annum. Find the total amount invested