Answer:
$17,000
Explanation:
Retained earnings is the sum of all nondistributed profits earned by a company since it begun operations. Retained earnings either increase or decrease as a result of net income or loss and dividend paid to shareholders.
Dividends paid = beginning retained earnings + Net income - ending retained earnings
$35,000 + $21,500 - $39,500 = $17,000
I hope my answer helps you