Task: Paraphrasing
Input (English): Mary extended a man who was wearing a hat the courtesy
Output (English): Mary extended the courtesy to a man who was wearing a hat