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 shrieked a man the directions

Ex Output:
Mary shrieked the directions to a man


Ex Input:
John paid a man a visit

Ex Output:
John paid a visit to a man


Ex Input:
John offered her a payment

Ex Output:

John offered a payment to her