What does the total mass before a chemical reaction equal?