Reasoning and answer: When Joanna purchased 4 times the number of gumballs she initially had, she added 40 * 4 = 160 gumballs to her dish. The total number of gumballs Joanna had in her dish after buying 160 more is 160 + 40 = 200. At the same time, Jacques bought 60 * 4 = 240 new gumballs. When Jacques added his new 240 gumballs to his dish, the total number of gumballs increased to 240 + 60 = 300 gumballs. When they decided to put together their gumballs, they had 300 + 200 = 500 gumballs altogether. After sharing equally, each person got 500 / 2 = 250 gumballs.
The answer: 250
What was the question?
Question: Joanna and Jacques had 40 and 60 gumballs, respectively, in their dishes. They then purchased 4 times the number of gumballs they had initially and added these to their dishes. If they decided to put together their gumballs and shared them equally, how many gumballs did each get?

Reasoning and answer: The number of ripe mangoes from the tree is 3 / 5 * 400 = 240. If Lindsay eats 60% of the ripe mangoes, she eats 60 / 100 * 240 = 144 mangoes. The total number of ripe mangoes remaining is 240 - 144 = 96.
The answer: 96
What was the question?
Question: 3/5 of the mangoes on a mango tree are ripe. If Lindsay eats 60% of the ripe mangoes, calculate the number of ripe mangoes remaining if there were 400 mangoes on the tree to start with.

Reasoning and answer: We start with the initial numbers of students, 40 and multiply that by .8 for 40 * 0.8 = 32 who own puppies. That the number of students with puppies, 32, and multiply that by .25 to find out how many own both puppies and parrots, 32 * 0.25 = 8 who own puppies and parrots. The answer is 8.
The answer: 8
What was the question?
Question:
In Professor Plum's biology class there are 40 students. Of those students, 80 percent have puppies. Of those who have puppies, 25% also have parrots. How many students have both puppies and parrots?