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