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.

[Q]: Alice groaned a man who was wearing a hat her thanks
[A]: Alice groaned her thanks to a man who was wearing a hat


[Q]: Mary said the woman her goodbye
[A]: Mary said her goodbye to the woman


[Q]: Bob surrendered the woman who was from work some money
[A]:
Bob surrendered some money to the woman who was from work