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: Mary sold a man wearing a hat the car

A: Mary sold the car to a man wearing a hat
****
Q: Alice delegated him a task

A: Alice delegated a task to him
****
Q: John loaned her the room

A:
John loaned the room to her
****