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.

Mary recited the man a prayer
Mary recited a prayer to the man

Juan allocated a man who was wearing a hat something
Juan allocated something to a man who was wearing a hat

Juan wailed her the name

Juan wailed the name to her