(S (S (CC And) (S (SBAR (WHADVP (WRB when)) (S (BASENP (PRP they)) (VP (VBP do) (VP (VB happen))))) (COMMA ,) (S (ADVP (RB then)) (S (BASENP (PRP they)) (VP (VBP need) (S (VP (TO to) (VP (VB be) (VP (VP (VBN sorted) (PRT (RP out))) (PP (IN between) (NP (BASENP (DT the) (NNS countries)) (PP (IN in) (BASENP (NN question)))))))))))))) (PERIOD .))