this is the ans but still dont get it
Every filled orbital has 1e with ms = +½ and 1e with ms = -½. Up to the 3p level, therefore, half of the electrons (9) have ms = +½. In the 4s orbital there is another electron with ms = +½. The d shell is not full, and again we cannot know whether the two electrons have ms = +½ or ms = -½. We do know that they will both be the same (Pauli principle). So there may be either 10 or 12 electrons with ms = +½.