Working in its favor is a social contract with a three-part system established in every country in the 
( ( Working ( in ( its favor ) ) ) ( is ( ( a ( social contract ) ) ( with ( ( a ( three-part system ) ) ( established ( in ( ( every country ) ( in the ) ) ) ) ) ) ) ) )
(ROOT (S (NP (NP (NNP Working)) (PP (IN in) (NP (PRP$ its) (NN favor)))) (VP (VBZ is) (NP (NP (DT a) (JJ social) (NN contract)) (PP (IN with) (NP (NP (DT a) (JJ three-part) (NN system)) (VP (VBN established) (PP (IN in) (NP (NP (DT every) (NN country)) (PP (IN in) (NP (DT the))))))))))))
The three-part system is being discontinued in some countries.
( ( The ( three-part system ) ) ( ( is ( being ( discontinued ( in ( some countries ) ) ) ) ) . ) )
(ROOT (S (NP (DT The) (JJ three-part) (NN system)) (VP (VBZ is) (VP (VBG being) (VP (VBN discontinued) (PP (IN in) (NP (DT some) (NNS countries)))))) (. .)))