How many electrons would be gained or lost to achieve a noble gas configuration? from the group 13 element

Group 13 elements have three valence electrons. To achieve a noble gas configuration, they would need to either lose three electrons to have the configuration of the previous noble gas or gain five electrons to have the configuration of the next noble gas.