The difference between compound interest and simple interest on a sum for 3 years at 5% per annum is Rs. 122. The sum is-