A sum of money is divided into two parts in the ratio 3:2. Larger part is invested at compound interest at\(10\%\)per annum for 3 years. Smaller part is invested at compound interest at\(20\%\)per annum for 2 years. Total interest earned is Rs.9,365. What was the sum of money?