A person lent a certain sum of money at 4% simple interest and in 5 years, the interest amounted to Rs. 520 less than the sum lent. The sum lent was