Yulan, Inc has beginning Retained Earnings of $35,000, ending Retained Earnings of $39,500, and net income of $21,500. What was the amount of dividends declared during the year?

a. $17,000
b. $13,500
c. $4,500
d. $21,500