She listened for the hat . that was doing their friend .
(ROOT_0 (S_0 (ATS_3 (ATS_1 (ATS_2 (ATS_3 (NP_1 (PRP_0 She)) (VP_4 (VBN_0 listened) (PP_0 (IN_1 for) (NP_5 (DT_0 the) (NN_2 hat))))) (DOT_0 .)) (NP_0 (DT_1 that))) (VP_3 (VBD_1 was) (VP_2 (VBG_0 doing) (NP_5 (PRPDOLLAR_0 their) (NN_0 friend))))) (DOT_0 .)))