DW has an ending Retained Earnings balance of $51,100. If during the year DW paid dividends of $4,300 and had net income of $22,500, then what was the beginning Retained Earnings balance?