Question: how many valence electrons are present in an atom of an element with atomic number 16?
Answer: They're in the outermost shell. These six outermost electrons, the valence electrons, are the only ones that take part in the reaction. Since 8+2+6=16, a sulfur atom must have the remaining six in its valence shell.