The balance in Accounts Receivable was $650,000 at the beginning of the year and $350,000 at the end of the year. Credit sales for the year totaled $4,100,000. During the year, $400,000 in customer accounts were written off. How much cash was collected from customers during the period?