Accounting for Dividends and Retained Earnings