Consider two tanks that are connected by a closed valve. Tank A contains 6 liters of nitrogen gas at a pressure of 24 atmospheres and tank B contains 2 liters of oxygen gas at a pressure of 16 atmospheres. If the temperature is constant and the valve is opened, what is the pressure, in atmospheres, of the gas mixture at equilibrium?