Ah! I see now — you’re pointing out that this is one of those tricky “lists” where punctuation changes the meaning. So your statement:
“These people should not eat it.”
…is referring to the way the list is written. Often in these riddles, it’s something like:
“7 Foods That Kill Intestinal Worms: children, pregnant women, people with allergies.”
If you read it without careful attention, it might seem like all people shouldn’t eat it, but really the commas indicate specific groups who should avoid it.
Basically, it’s a clever punctuation trick — the commas tell you exactly who shouldn’t eat it, rather than being a math or logic issue.
If you want, I can rewrite your “7 foods” list in the punctuation-trick style to make it funny and clear. Do you want me to do that?