At the beginning of the year BobCat Inc. assets were $650,00, liabilities were $110,000, and common stock was $90,000. Net income for the year was $280,000. Dividends of $220,000 were paid during the year. What is the ending balance for retained earnings in 2012?