QP Corp. has a beginning retained earnings balance of $16,000. An adjusted trial balance shows total expenses of $24,000 and service revenue of $28,000. If dividends for the year were $1,800, determine the ending retained earnings balance for the year.