A person borrowed a certain sum at 10% p.a. for three years, interest being compounded annually. At the end of two years, he repaid a sum of 76,634 and at the end of the third year. he cleared off the debt by paying R13,200, What was the sum borrowed by him?