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

Ex Output:
Mary gave the job to a woman who was from work


Ex Input:
Maria threw a man the blanket

Ex Output:
Maria threw the blanket to a man


Ex Input:
Maria extended a woman who was wearing a hat something

Ex Output:

Maria extended something to a woman who was wearing a hat