Languages typically provide more than one grammatical construction to express certain types of messages. Your task is to generate a senetence with the same meaning as given sentence, but with different grammatical construction.

Example Input: Juan taught the woman who was wearing the hat the lines
Example Output: Juan taught the lines to the woman who was wearing the hat

Example Input: Michael quoted a woman who was wearing a hat the passage
Example Output: Michael quoted the passage to a woman who was wearing a hat

Example Input: Alice taught the woman who was wearing the hat the piece
Example Output:
Alice taught the piece to the woman who was wearing the hat