An inorganic halide (A) reacts with water to form two acids (B) and (C). Also aqueous solution of (A) reacts with KOH to form two salts (D) and (E) Which are soluble in water. The solution gives white precipitates with both AgNO3 and BaCl2 solutions respectively. Identify (A) to (E)