(S (S (BASENP (NNP Hamas)) (VP (VBZ states) (SBAR (SBAR (IN that) (S (BASENP (NNP Israel)) (VP (VBD had) (NP (BASENP (DT every) (NN chance)) (S (VP (TO to) (VP (VP (VB swap) (BASENP (NNS prisoners))) (S (VP (TO to) (VP (VB release) (BASENP (NNP Shalit)))))))))))) (CONJP (COMMA ,) (CC but)) (SBAR (IN that) (S (BASENP (NNP Israel)) (VP (VBZ has) (S (VP (TO to) (VP (VB act)))))))))) (PERIOD .))