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:
John gave the woman wearing the hat something

Ex Output:
John gave something to the woman wearing the hat


Ex Input:
Maria owed the woman who was from work a job

Ex Output:
Maria owed a job to the woman who was from work


Ex Input:
Juan stammered the man who was from work a thought

Ex Output:

Juan stammered a thought to the man who was from work