Q: Maria has 19 cookies. She decided to give her friend 5 of them, and half of the rest to her family. From the rest, Maria decided to eat 2 cookies. How many cookies will she have left?
A: Maria wants to give away 5 cookies, so she will be left with 19 - 5 = 14 cookies. Half of these will go to her family, which means 14 / 2 = 7 cookies. Maria decided to eat 2 / 7 * 7 = 2 cookies. So she will be left with 7 - 2 = 5 cookies. The answer is 5.
Question: Harry decided to buy some balloons for his friend's birthday party. One balloon costs $0.5, and a pack of 10 balloons is cheaper and costs only $3. Finally, Harry wants to bring to the party exactly 14 balloons. How much did he need to pay for them?
Answer: To buy 14 balloons, Harry should buy one pack of 10, and 14 - 10 = 4 separate balloons. The price of 4 balloons is 4 * 0.5 = $2. In total, the pack and separate balloons would cost Harry in total 3 + 2 = $5. The answer is 5.
[Question]Gwen received a $900 bonus at work and decided to invest this money in the stock market. She spent one-third of her bonus on stock A, one-third on stock B, and the remaining one-third on stock C.  After one year, stock A and stock B had doubled in value, while stock C had lost half of its value. At the end of the year, how much were Gwen's stocks worth, in dollars?
[Answer]One - third of her bonus was $900 / 3 = $300. After one year, stock A doubled in value and was worth $300 * 2 = $600. After one year, stock B doubled in value and was worth $300 * 2 = $600. After one year, stock C had lost half its value and was worth $300 / 2 = $150. Altogether, at the end of the year, Gwen's stocks were worth $600 + $600 + $150 = $1350. The answer is 1350.
Q: Together, Alan and Marcy handed out 150 parking tickets. If Marcy handed out 6 fewer than 5 times as many tickets as Alan, how many tickets did Alan hand out?
A: Let a be the number of tickets Alan hands out and m be the number Marcy hands out. We know that a + m = 150 and m = 5a - 6. Substituting the second equation into the first, we get a + 5a - 6 = 150. Adding 2 to both sides, we get a + 5a = 156. Combining like terms, we get 6a = 156. Dividing both sides by 6, we get a = 26. The answer is 26.
Question: The bakery makes 3 batches of baguettes a day. Each batch has 48 baguettes. After the first batch came out, he sold 37. After the second batch, he sold 52. After the third batch he sold 49. How many baguettes are left?
Answer: He makes 3 batches of baguettes a day, 48 per batch so he makes 3 * 48 = 144. He sells 37, then 52 then 49 baguettes for a total of 37 + 52 + 49 = 138. He had 144 to sell and he sold 138 so he has 144 - 138 = 6 left over. The answer is 6.
Q: For every 5 people that attend a poetry class, the teacher gives one of the students a lollipop. If 45 people show up for class, then another 15 come in a while later, how many lollipops did the teacher give away?
A:
The teacher has 45 + 15 = 60 people come in total. For every 5 people, a lollipop is given away so there are 60 / 5 = 12 groups of 5 people and 12 lollipops given away. The answer is 12.