The rate of simple interest on a sum of money is 6% p.a. for the first 3 years, 8% p.a. for the next 5 years and 10% p.a. for the period beyond 8 years. If the simple interest accrued by the sum for a total period of 10 years is Rs. 1560, what is the sum?