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]: Maria whined a man who was from work a gripe
[A]: Maria whined a gripe to a man who was from work


[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 wrote a woman a note
[A]:
Mary wrote a note to a woman