Answer the following question given this paragraph: 

How metalloids behave in chemical interactions with other elements depends mainly on the number of electrons in the outer energy level of their atoms. Metalloids have from three to six electrons in their outer energy level. Boron, pictured in the Figure below , is the only metalloid with just three electrons in its outer energy level. It tends to act like metals by giving up its electrons in chemical reactions. Metalloids with more than four electrons in their outer energy level (arsenic, antimony, and tellurium) tend to act like nonmetals by gaining electrons in chemical reactions. Those with exactly four electrons in their outer energy level (silicon and germanium) may act like either metals or nonmetals, depending on the other elements in the reaction.


Q: How metalloids behave in chemical interactions with other elements depends mainly on the number of what, in the outer energy level of their atoms?


A:
electrons