An aqueous solution of an unknown compound (X) gives the following reactions.
(i) It gives brown precipitate with alkaline KMnO4 solution.
(ii) It forms HCl and evolves O2 when reacted with Cl2 gas.
(iii) It liberates l2 from an acidified Kl solution.
(iv) It gives orange yellow colour with acidified titanic sulfate solution.
Identify (X).