When a brown compound of manganese (A) is treated with HCl it gives a gas (B). The gas taken in excess, reacts with NH3 to give an explosive compound (C). Identify compounds A, B and C.
A = MnO2 B = Cl2 C = NCl3