[Question]A bakery sells boxes of doughnuts and if there are any doughnuts left at the end of the day, the bakery gives them away. Each box of doughnuts holds 10 doughnuts and all of the doughnuts that the bakery makes are put into these boxes. The bakery makes 300 doughnuts for the day and sells 27 boxes of doughnuts throughout the day. How many doughnuts are given away at the end of the day?
[Answer]The bakery has made 300 total doughnuts / 10 doughnuts per box = 30 boxes of doughnuts. So at the end of the day, they still have 30 total boxes of doughnuts – 27 sold boxes of doughnuts = 3 boxes of doughnuts leftover. They are therefore giving away 3 boxes of doughnuts * 10 doughnuts per box = 30 doughnuts. The answer is 30.
Q: Elsa started the day with 40 marbles. At breakfast, she lost 3 marbles while playing. At lunchtime, she gave her best friend Susie 5 marbles. In the afternoon, Elsa's mom bought her a new bag with 12 marbles. Susie came back and gave Elsa twice as many marbles as she received at lunch. How many marbles did Elsa end the day with?
A: Elsa had 40 marbles - 3 - 5 = 32 marbles. Elsa then gained 12 marbles + 32 = 44 marbles. At dinner Elsa received 2 * 5 marbles from Susie = 10 marbles. In total Elsa had 44 marbles + 10 = 54 marbles. The answer is 54.
Question: Josh is saving up for a box of cookies. To raise the money, he is going to make bracelets and sell them. It costs $1 for supplies for each bracelet and he sells each one for $1.5. If he makes 12 bracelets and after buying the cookies still has $3, how much did the box of cookies cost?
Answer: He makes $.5 profit on each bracelet because 1.5 - 1 = .5. He earns $6 because 12 x .5 = 6. The cookies cost $3 because 6 - 3 = 3. The answer is 3.
[Question]The cheerleading coach is ordering new uniforms. There are 4 cheerleaders who need a size 2, a certain number who need a size 6, and half that number who need a size 12. If there are 19 cheerleaders total, how many cheerleaders need a size 6?
[Answer]Let s be the number of cheerleaders who need a size 6 and t be the number who need a size 12. We know that s = 2t and s + t + 4 = 19. Substituting the first equation into the second equation, we get 2t + t + 4 = 19. Combining like terms, we get 3t + 4 = 19. Subtracting 4 from both sides, we get 3t = 15. Dividing both sides by 3, we get t = 5. Substituting that value back into the equation s = 2t, we get s = 2 * 5 = 10. The answer is 10.
Q: Kelly has 8 chickens that lay 3 eggs each per day. If Kelly sells these eggs for $5 a dozen. How much money will she make in 4 weeks if she sells all her eggs?
A: Each chicken lays 7 * 3 = 21 eggs a week. Each week all the chickens lay 21 * 8 = 168 eggs. In 4 weeks all the chickens lay 168 * 4 = 672 eggs. 672 eggs equal 672 / 12 = 56 dozens. Kelly would make 56 * 5 = 280 dollars. The answer is 280.
Question: Five years ago, there were 500 old books in the library. Two years ago, the librarian bought 300 books. Last year, the librarian bought 100 more books than she had bought the previous year. This year, the librarian donated 200 of the library's old books. How many books are in the library now?
Answer:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
Last year the librarian bought 300 + 100 = 400 books. Thus, there were 500 + 300 + 400 = 1200 books as of last year. Therefore, there are 1200 - 200 = 1000 books now in the library. The answer is 1000.