TASK DEFINITION: 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.
PROBLEM: Mary gave a woman who was from work the job

SOLUTION: Mary gave the job to a woman who was from work

PROBLEM: Mary said the woman her goodbye

SOLUTION: Mary said her goodbye to the woman

PROBLEM: Alice muttered the man who was wearing the hat her hello

SOLUTION:
Alice muttered her hello to the man who was wearing the hat