A student is given a sample in lab that contains one of the…

A student is given a sample in lab that contains one of the ions listed below. After adding a few drops of AgNO3 solution to a portion of the unknown sample, the student observed a grayish precipitate. After adding a few drops of Mg(NO3)2 solution to another portion of the unknown sample, the student got a black precipitate. Based on these observations, what is the only possible ion in this student’s sample?