In a chemical reaction, according to the law of conservation of mass, the total mass of the reactants must equal the total mass of the products.
In this case, the scientist starts with 30 grams of calcium carbonate (CaCO3). During the reaction, this mass will be converted into products, which are carbon dioxide (CO2) and calcium oxide (CaO).
Since no mass is lost or gained in the reaction, the total mass of the products will also be 30 grams.
Therefore, the correct answer is:
30 grams