Task: Sentence Composition
Input (English): The professors encouraged the secretary who the scientist advised .
Output (English): The scientist encouraged the professors .