Question 914499
269 peanuts, 74 cashews, and 45 pecans add up to {{{269+74+45=388}}} nuts.
Since there are 500 nuts in the can,
and each nut is expected to be
either a peanut, or a hazelnut, or a cashew, or a pecan
(no almonds, chestnuts, filberts or any other nuts),
then the remaining {{{500-388=highlight(112)}}} nuts are hazelnuts.
If you want to write both calculations in one, use parentheses, like this:
{{{500-(269+74+45)=highlight(112)}}} ,
or (showing your work)
{{{500-(269+74+45)=500-388=highlight(112)}}} .
 
Obviously, that machine is not doing a good job, or else it is mixing the bulk product correctly, but the mix segregates (de-mixes a bit) as it is being packaged.
If the nuts were in the ratio 5:2:2:1,
we could split that can containing 500 nuts into 50 groups of 10 nuts,
with each group including
5 peanuts, 2 hazelnuts, 2 cashews, and 1 pecan.