A solution of sodium hydroxide (NaOH) was added to an aqueous solution of compound A. On heating the mixture, fumes evolved that turned red litmus paper blue.