What elements react with cobalt?

Oxygen, sulfur and the elements of group 17.