The balance in accounts receivable at the beginning of 2016 was $670. During 2016, $2,200 of credit sales were recorded. If the ending balance in accounts receivable was $100 and $200 in accounts receivable were written off during the year, the amount of cash collected from customers during 2016 was:
a) $2,200.
b) $2,570.
c) $2,870.
d) $2,770.