Task: Sentence Composition
Input (English): The secretary thanked the tourist who the student saw .
Output (English): The tourist thanked the student .