n represents the main energy level and l represents the subshell. If n=4 and l=3, the subshell is 4f. In f subshell, there are 7 orbitals and each orbital can accommodate a maximum of two electrons, so, maximum number of electrons in 4 4f subshell =7×2=14