to those who know the answer pa help thank u

1s, 3p, 5d = 18
16 = 1s, 3p, d5, f7 = 32
5(O) = 5 (s, p, d, f and g) = 25 = 5s, 5p, 5d, 5f, 5g =50