## Chemistry 9th Edition

We rearrange the ideal gas law to solve in terms of $n$: $n=\frac{PV}{RT}$. Because $R$ is a constant and pressure, volume, and temperature are equal for both gases, $n$, the number of moles, is equivalent for both gases.