Sn (#50) and Rb (#37) are in the same

period on the periodic table.

and so have the same

number of electron shells.