Task: Sentence Composition
Input (English): The doctor near the president thanked the manager .
Output (English): The president thanked the doctor .