Given a scientific question, generate a correct answer to it.

Example input: Who proposed the theory of evolution by natural selection?
Example output: darwin
Example explanation: This is a direct fact that Charles Darwin proposed the theory of evolution.
Q: In chemical reactions, what substances can act like metals or nonmetals, depending on their number of electrons?
A:
metalloids