Metals and non-metals in the periodic system