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]: Mary sold a man wearing a hat the car
[EX A]: Mary sold the car to a man wearing a hat

[EX Q]: Juan presented her a photograph
[EX A]: Juan presented a photograph to her

[EX Q]: Alice delegated him a task
[EX A]:
Alice delegated a task to him