(S (S (NP (BASENP (DT The) (NN country) (POS 's)) (BASENP (JJ electoral) (NNS rules))) (VP (VBP state) (SBAR (IN that) (S (SBAR (IN if) (S (BASENP (DT neither) (NN candidate)) (VP (VBZ is) (ADJP (JJ able) (S (VP (TO to) (VP (VB obtain) (NP (BASENP (NN half)) (PP (IN of) (NP (BASENP (DT the) (NNS ballots)) (VP (VBN cast) (PP (IN in) (BASENP (DT the) (JJ first) (NN count)))))))))))))) (COMMA ,) (S (ADVP (RB then)) (S (NP (BASENP (NNS voters) (POS ')) (BASENP (JJ second) (NNS preferences))) (VP (VBP are) (S (VP (TO to) (VP (VB be) (VP (VBN used) (S (VP (TO to) (VP (VB determine) (BASENP (DT the) (NN winner)))))))))))))))) (PERIOD .))