Nutan borrowed some money at rate of 4 p.c.p.a for the first three years, at the rate of 8 p.c.p.a for the next years and the rate of 9 p.c.p.a. for the period beyond 5 years. if she pay a total SI of Rs. 19550 at the end of 7 years. How much money did she borrow?