Starlight Ltd. assigned $600,000 of Accounts Receivable to Moonbeam Management as security for a loan of $580,000. Moonbeam charged a 3% commission on the amount of the loan; the interest rate on the note was 10%. During the first month, Starlight collected $320,000 of the assigned accounts, after deducting $500 of discounts. As well, Starlight accepted returns worth $2,600 and wrote off assigned accounts totalling $4,500. The amount of cash Starlight received from Moonbeam at the time of the transfer was
A
$280,000.
B
$378,000.
C
$582,000.
D
$562,600.