At a particular food processing factory, a machine is supposed to package mixed nuts such that each package contains 50% peanuts
, 20% hazelnuts, 20% cashews, and 10% pecans. A randomly-selected can containing 500 of these mixed nuts was found to have 271 peanuts, 108 hazelnuts, 78 cashews, and 43 pecans. At the 5% significance level, determine whether the machine is mixing the nuts in the proper ratio.