human
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?
assistant
How many children were allowed to draw jelly beans from the bag? ** 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=<<80/100*40=32>>32 children.
How many jelly beans did the children draw from the bag? ** If each of the 32 children drew two jelly beans out of the bag, they drew a total of 32*2=<<32*2=64>>64 jelly beans from the bag.
How many jelly beans remained in the bag after the children took their share? ** The total number of jelly beans that remained is 100-64=<<100-64=36>>36
#### 36