25.0cm3 of 0.100mol dm−3 hydrochloric acid and 25.0cm3 of 0.100mol dm−3 ethanoic acid each react with excess magnesium ribbon of the same size, at the same temperature. The hydrogen is collected. One mole of gas occupies 24dm3 at room temperature and pressure. Which statement is correct?