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.

Ex Input:
Juan assigned the woman who was wearing the hat the responsibility

Ex Output:
Juan assigned the responsibility to the woman who was wearing the hat


Ex Input:
Juan showed a woman a picture

Ex Output:
Juan showed a picture to a woman


Ex Input:
Mary said him something

Ex Output:

Mary said something to him