Wildhorse Co. began the year 2022 with retained earnings of $651000. During the year, the company sold additional shares of stock for $1017000, recorded revenues of $649000, expenses of $376000, and paid dividends of $141000. What was Wildhorse's retained earnings balance at the end of 2022?