The first thing is to find the relationship between the number of popsicles and the number of chocolates, which would be the quotient of these:
100/56 = 1.78
Since it does not reach number two, you cannot add 2 popsicles and 2 chocolates, therefore the only way that they contain the same amount is that there is a chocolate and a popsicle, that is to say that a total of 56 bags would come out.