Ram borrowed a sum of Rs. 2000 from his friend on May 1 at the rate of 5 percent per annum. An emergency arose and he again borrowed Rs. 1000 on September 24 at the same rate of interest. If he returned his loan along with the interest on December 6 how much was the total amount returned.