An aqueous solution of a compound X shows the following reactions.
(i) It decolourises an acidified KMnO4 solution accompanied by the evolution of oxygen.
(ii) It liberates iodine from an acidified potassium iodine solution.
(iii) It gives a brown precipitate with alkaline KMnO4 solution with the evolution of oxygen.
(iv) It removes black stains from old oil paintings.
Identify X.