Complex sentence: If so, the candidate is the majority, otherwise the sequence doesn't contain a majority.
Split into simpler sentences: If so, the candidate is the majority. Otherwise, the sequence doesn't contain a majority.