How is a candidate elected to a single office?