Question: There were 100 jelly beans in a bag to be given away on Halloween. Out of the 40 children taking part in the Halloween celebration, 80% were allowed to draw jelly beans from the bag. Each child drew two jelly beans out of the bag. How many jelly beans remained in the bag after the children took their share?
Answer: Out of the 40 children taking part in the Halloween celebration, 80% were allowed to draw jelly beans from the bag, a total of 80 / 100 * 40 = 32 children. If each of the 32 children drew two jelly beans out of the bag, they drew a total of 32 * 2 = 64 jelly beans from the bag. The total number of jelly beans that remained is 100 - 64 = 36. The answer is 36.

Question: The spacecraft Gibraltar is a mountain-sized intergalactic vehicle for transporting equipment, building materials, and families to establish colonies on far-away planets. At full capacity, the vehicle can carry 300 family units with four people per family. The space flight is expected to take years, and it is expected that the size of families will grow during the space voyage. Therefore, when the spacecraft leaves the earth, it will carry 100 people less than one-third of the ship's capacity. How many people will be on the ship to start the journey?
Answer: The full capacity of the ship is 300 * 4 = 1200 people. One - third of capacity is 1200 / 3 = 400 people. 100 less than one - third capacity is 400 - 100 = 300 people. The answer is 300.

Question: At Penny's bakery, her famous blueberry cheesecakes are $7 a slice. Each cheesecake pie is cut into 6 thick slices. If she sells 7 cheesecake pies, how much money does she make?
Answer: There are a total of 7 x 6 = 42 cheesecake slices. She makes a total of 42 x $7 = $294. The answer is 294.

Question: In a town, there are four primary schools. Two of them can teach 400 students at a time, and the other two 340 students at a time. How many students at a time in total, can these four primary schools teach?
Answer:
Two schools can teach 400 students, so in total, they can teach 2 * 400 = 800 students. The other two schools can teach 340 students, which gives 2 * 340 = 680 students in total. So all four schools can teach 800 + 680 = 1480 students at a time. The answer is 1480.