The sum of money at compound interest amounts to Rs.10580 in 2 years and to Rs.12167 in 3 years. The rate of interest per annum is