Loan repayment and agricultural inputs