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: Maria assigned him something

A: Maria assigned something to him
****
Q: Maria tossed a man a key

A:
Maria tossed a key to a man
****