Bromine (Br) is in group 17 of the periodic table, which means it has 7 valence electrons. The element that has the same number of valence electrons as bromine is:
Selenium (Se)
Selenium is in group 16 and shares the same number of total electron shells as bromine (both are in the same period). However, if we strictly consider elements that are of the same group, then the closest element with 7 valence electrons is chlorine (Cl), which is in group 17 just above bromine.
So, the best answer that matches in terms of group and valence electrons in this specific context would be:
Chlorine (Cl).