How many moles of gases will be produced if we decompose 10 moles of the reactant in the following chemical equation?

3 C2H8O4Cl4 = 12 HCl (g) + 6 CO2 (g) +6 H2 (g)

look at the equation:

3 moles of reactant produces 12+6+6 = 24 moles of gases.

So, how much gas is released by 10 moles?