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 Q]: Alice groaned a man who was wearing a hat her thanks
[EX A]: Alice groaned her thanks to a man who was wearing a hat

[EX Q]: John chucked a man wearing a hat a tennis ball
[EX A]: John chucked a tennis ball to a man wearing a hat

[EX Q]: Juan sent a man wearing a hat a text
[EX A]:
Juan sent a text to a man wearing a hat