Bait took a certain amount from a bank a a loan at the rate of 8%per annum imple interet and give the ame amount to ahmad a a loan at 12% per annum imple interet. If at the end of 12 year he made the profit of 320 in the deal what wa the original amount