A neutral atom of an element has 2K, 8L and 5M electrons. Find out the maximum number of electrons having same spin.