Distribute the 20 electrons into the orbitals following this order, making sure to fill each orbital to its maximum capacity before moving to the next: 1s (2 electrons), 2s (2 electrons), 2p (6 electrons), 3s (2 electrons), 3p (6 electrons), and then 4s (2 electrons).