Adam borrowed some money at the rate of 6% p.a. for the first two years, at the rate of 9% p.a. for the next three years, and at the rate of 14% p.a. for the period beyond five years. If he pays a total interest of Rs 11,400 at the end of nine-year, how much money did he borrow?