How many valance electrons do atoms in group 1 group 2 and groups 15 to 17 have?

group1: +1

group2: +2

group15: -3

group16: -2

group17: -1