Task: Sentence Composition
Input (English): The doctor recognized the lawyer who the actor thanked .
Output (English): The lawyer recognized the doctor .