The total mass will be 200 grams. This experiment proves the Law of Conservation of
Mass, meaning that the final mass it's not going to be forming more nor it's going to disappear.
The total mass that we started (160+40) will be the same at the end of the reaction.
Since a gas is produced during the reaction it's better to use a ballon to collect this gas and that way preserving the mass.