A milkman borrowed ₹ 2500 at simple interest from two money lenders. For one loan, he paid 5% p.a. and for the other, he paid 7% p.a. The total interest paid after two years was ₹275. Calculate the money he borrowed at 7% interest?