She got gangrene in her foot and he said if you don't quit smoking you're going to lose your foot.
( ( ( ( She ( ( got gangrene ) ( in ( her foot ) ) ) ) and ) ( he ( said ( if ( you ( ( do n't ) ( quit ( smoking ( you ( 're ( going ( to ( lose ( your foot ) ) ) ) ) ) ) ) ) ) ) ) ) ) . )
(ROOT (S (S (NP (PRP She)) (VP (VBD got) (NP (NN gangrene)) (PP (IN in) (NP (PRP$ her) (NN foot))))) (CC and) (S (NP (PRP he)) (VP (VBD said) (SBAR (IN if) (S (NP (PRP you)) (VP (VBP do) (RB n't) (VP (VB quit) (NP (NP (NN smoking)) (SBAR (S (NP (PRP you)) (VP (VBP 're) (VP (VBG going) (S (VP (TO to) (VP (VB lose) (NP (PRP$ your) (NN foot)))))))))))))))) (. .)))
She will not lose her foot if she keeps smoking. 
( She ( ( ( will not ) ( ( lose ( her foot ) ) ( if ( she ( keeps smoking ) ) ) ) ) . ) )
(ROOT (S (NP (PRP She)) (VP (MD will) (RB not) (VP (VB lose) (NP (PRP$ her) (NN foot)) (SBAR (IN if) (S (NP (PRP she)) (VP (VBZ keeps) (NP (NN smoking))))))) (. .)))