I'm going to see if I can trick y'all haha

There are 30 cows and 28 chickens how many didnt

lay eggs?

This question doesn't make sense as it doesn't specify how many chickens laid eggs or how many cows are expected to lay eggs at all. So there is no clear answer to this question.