(S (S (BASENP (NNP Hamas)) (VP (VP (VP (VBD won) (BASENP (NN 75))) (PP (IN out) (PP (IN of) (BASENP (DT the) (NN 118) (NNS seats))))) (COMMA ,) (PP (IN with) (S (NP (BASENP (NNP Fatah)) (COMMA ,) (NP (BASENP (DT the) (NN party)) (PP (IN of) (NP (BASENP (JJ Palestinian) (NN leader)) (COMMA ,) (BASENP (NNP Mahmoud) (NNP Abbas)))))) (VP (ADVP (RB only)) (VP (VBG managing) (S (VP (TO to) (VP (VB secure) (BASENP (NN 39) (NNS seats))))))))))) (PERIOD .))