to which the other replied,Yes, put it in it, and pull it down.
( ( ( to which ) ( ( the other ) ( ( replied , ) ( Yes ( , ( ( ( ( ( put it ) ( in it ) ) , ) and ) ( ( pull it ) down ) ) ) ) ) ) ) . )
(ROOT (FRAG (SBAR (WHPP (TO to) (WHNP (WDT which))) (S (NP (DT the) (JJ other)) (VP (VBD replied) (, ,) (S (INTJ (UH Yes)) (, ,) (VP (VP (VB put) (NP (PRP it)) (PP (IN in) (NP (PRP it)))) (, ,) (CC and) (VP (VB pull) (NP (PRP it)) (PRT (RP down)))))))) (. .)))
The other person told the former to put it in and pull it down.
( ( The ( other person ) ) ( ( ( told ( the former ) ) ( to ( ( ( ( put it ) in ) and ) ( ( pull it ) down ) ) ) ) . ) )
(ROOT (S (NP (DT The) (JJ other) (NN person)) (VP (VBD told) (NP (DT the) (JJ former)) (S (VP (TO to) (VP (VP (VB put) (NP (PRP it)) (PP (IN in))) (CC and) (VP (VB pull) (NP (PRP it)) (PRT (RP down))))))) (. .)))