Three elements 'X', 'Y' and 'Z' have atomic numbers 18, 19 and 20 respectively. How many electrons are present in the M shell of these elements?