An amount of R85 000 is repaid in total on a loan. The loan was for a period of two years, and compound interest was charged at 9%. Calculate the amount that was borrowed.​