If the beginning balance of retained earnings is $ 180 comma 000​, revenue is $ 85 comma 000​, expenses total $ 35 comma 000​, and the company declares and pays a $ 20 comma 000 ​dividend, what is the ending balance of retained​ earnings? ​Let's begin by selecting the labels in the summarized statement of retained earnings and then enter the amounts to calculate the ending balance of retained earnings for the company. ​(Include a subtotal after the​ "Add" line of the​ statement.)