Two gases occupy two containers A and B; the gas in A