Please extract entities and their types from the input sentence, entity types should be chosen from {person/organization/location}.
Text: If an Event of Default has occurred and is continuing , Agent and Lenders may apply any funds in their possession , whether from Borrower account balances , payments , proceeds realized as the result of any collection of Accounts or other disposition of the Collateral , or otherwise , to the Obligations in such order as Agent shall determine in its sole discretion .
user
Borrower is a person.
assistant