If the amount of retained earnings at the beginning of the year was 30,000, and 12,000 in dividends is paid during the year, calculate net income for the year.

A. 42,000
B. 18,000
C. 42,000
D. 12,000