The rate of interest on a sum of money is 4% per annum for the first 2 years, 6% per annum for the next 4 years and 8% per annum for the period beyond 6 years. If the simple interest accrued by the sum for a total period of 9 years is Rs. 1120, what is the sum?