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:
Alice faxed the woman who was wearing the hat the copy

Ex Output:
Alice faxed the copy to the woman who was wearing the hat


Ex Input:
Michael distributed the team from work some pencils

Ex Output:
Michael distributed some pencils to the team from work


Ex Input:
Mary said the woman a word

Ex Output:

Mary said a word to the woman