Our class had a collection of novels. The community library donated twelve new novels to the collection. Now there are 23 novels in the collection. How many chapter books did our class have before the donation? Write an equation that represents this context and solve.