Arun borrowed a sum of money from Jayant at the rate of 8% per annum simple interest for the first four years; 10% per annum for the next six years and 12% per annum for the period beyond ten years. If he pays a total of ?12,160 as interest only at the end of 15 years, how much money did he borrow?