The ions which can be precipitated with both HCl and H2S are :
An aqueous solution of a substance gives a white precipitate on treatment with dil HCl, which dissolved on heating. On passing H2S in hot acidic solution a black precipitate is formed. The substance is: