They greeted her and she smiled shyly back.
( They ( ( greeted ( ( ( her and ) she ) ( ( smiled shyly ) back ) ) ) . ) )
(ROOT (S (NP (PRP They)) (VP (VBD greeted) (SBAR (S (NP (PRP her) (CC and) (PRP she)) (VP (VBD smiled) (ADVP (RB shyly)) (ADVP (RB back)))))) (. .)))
She smiled at the group.
( She ( ( smiled ( at ( the group ) ) ) . ) )
(ROOT (S (NP (PRP She)) (VP (VBD smiled) (PP (IN at) (NP (DT the) (NN group)))) (. .)))