Peter invested an amount of Rs. 12,000 at the rate of 10 % p.a. simple interest and. another amount at the rate of 20 % p.a. simple interest. The total interest earned at the end of one year on the total amount invested became 14 % p.a. Find the total amount invested.