Task: Sentence Composition
Input (English): The judge who helped the secretary thanked the presidents .
Output (English): The secretary thanked the judge .