Metal compound A reacts with dilute hydrochloric acid to produce effervescence. The gas evolved extinguishes a burning candle. Write a balanced chemical equation for the reaction if one of the compounds formed is calcium chloride.
\\( \\mathrm { CaCO } _ { 3 ( s ) } + 2 \\mathrm { HCl } _ { ( \\mathrm { aq } ) }\\) -> \\( \\mathrm { CaCl } _ { 2 ( \\mathrm { aq } ) }\\)+\\( \\mathrm { CO } _ { 2 ( g ) }\\)+\\( \\mathrm { H } _ { 2 } \\mathrm { O } _ { ( l ) }\\)