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