Title: How to lose and how to win an election