(S (S (BASENP (DT Both) (NNS teams)) (VP (VP (VBD worked) (ADVP (RB hard))) (CC and) (VP (VP (VBD had) (NP (BASENP (JJ clear) (NNS chances)) (S (VP (TO to) (VP (VB score)))))) (CC but) (VP (VP (VBD lacked) (BASENP (DT the) (JJ necessary) (NNS ruthlessness))) (PP (IN in) (NP (BASENP (NN front)) (PP (IN of) (BASENP (NN goal))))))))) (PERIOD .))