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: Mary gave a woman who was from work the job
Example Output: Mary gave the job to a woman who was from work

Example Input: Juan slapped her something
Example Output: Juan slapped something to her

Example Input: Maria gave a man who was wearing a hat something
Example Output:
Maria gave something to a man who was wearing a hat