If they are in the same row they have the same number of outer electrons on the same main shell also known as valence electrons
if they are in the same column they have the same number of valence electrons but on different main shells
I want to say A only... Hope I helped!!