A mixture contains $\pu{8.00 g}$ each of $\ce{O2},$ $\ce{CO2},$ and $\ce{SO2}$ at STP. Calculate the volume of this mixture. Which of the gases would exert the greatest pressure and why?
Here is my work:
$$ \begin{align} n(\ce{O2}) &= \frac{\pu{8.00 g}}{\pu{32.00 g mol-1}} = \pu{0.250 mol}\\ n(\ce{CO2}) &= \frac{\pu{8.00 g}}{\pu{44.01 g mol-1}} = \pu{0.182 mol}\\ n(\ce{SO2}) &= \frac{\pu{8.00 g}}{\pu{64.07 g mol-1}} = \pu{0.125 mol} \end{align} $$
$$n_\mathrm{tot} = \pu{0.250 mol} + \pu{0.182 mol} + \pu{0.125 mol} = \pu{0.557 mol}$$
$$pV = nRT \quad\implies\quad V = \frac{nRT}{p}$$
$$V = \frac{\pu{0.557 mol}\times\pu{0.0821 atm L mol^-1 K^-1}\times\pu{273 K}}{\pu{1.00 atm}} = \pu{12.5 L}$$
Considering $p = nRT/V,$ the gas that takes up the least amount of volume with the greatest amount of particles will exert the greatest pressure. This will be $\ce{O2}$ because it has the lowest molar mass/volume.
Is this how handling the amounts of substance work (can different substances be added like this)?