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:
Maria offered a man from work a payment

Ex Output:
Maria offered a payment to a man from work


Ex Input:
Linda taught the man the piece

Ex Output:
Linda taught the piece to the man


Ex Input:
Mary moaned the man wearing the hat the complaint

Ex Output:

Mary moaned the complaint to the man wearing the hat