The balance in accounts receivable at the beginning of 2021 was $690. During 2021, $3,200 of credit sales were recorded. If the ending balance in accounts receivable was $170 and $100 in accounts receivable were written off during the year, the amount of cash collected from customers during 2021 was: