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.

Input: Consider Input: Juan shrieked the man from work the directions

Output: Juan shrieked the directions to the man from work


Input: Consider Input: John distributed a team from work some pencils

Output: John distributed some pencils to a team from work


Input: Consider Input: John restored a woman who was wearing a hat some money


Output: John restored some money to a woman who was wearing a hat