How to determine quantum numbers:

s= typically corresponds to the period number

l= corresponds to atomic orbitals

m(l)= corresponds to the specific orbital shell that the last electron lands on

m(s)= corresponds to the "up" electron (+1/2) or the "down" electron (-1/2)