David Caslon paid $900 for the principal he borrowed for 21 months at a nominal interest rate of 18% compounded monthly. What was the principal he had borrowed?