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: John assigned a man who was wearing a hat the job

A: John assigned the job to a man who was wearing a hat
****
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: Alice whistled the man wearing the hat approval

A:
Alice whistled approval to the man wearing the hat
****