what kind of element has the greates tendency to attract electrons? why?