Anand invested an amount of ₹ 25,000 divided in two different schemes A and B at the simple interest rate of 14% p.a. and 4% p.a. respectively. If the total amount of simple interest earned in a year be ₹ 5000, what was the amount invested in Scheme A?