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 donated the team the book

Ex Output:
Mary donated the book to the team


Ex Input:
Juan advanced a woman wearing a hat a payment

Ex Output:
Juan advanced a payment to a woman wearing a hat


Ex Input:
Mary restored a woman from work some power

Ex Output:

Mary restored some power to a woman from work