The rate of interest for the first 2 yrs is 3% per annum, for the next 3 years is 8% per annum and for the period beyond 5 years 10% per annum. A person deposited some money 6 years back. Now he earns an interest of RS. 1520. What money did he deposit?