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: John mailed a woman wearing a hat the letter

SOLUTION: John mailed the letter to a woman wearing a hat

PROBLEM: Maria tweeted the woman from work the remark

SOLUTION: Maria tweeted the remark to the woman from work

PROBLEM: Linda declared a man who was wearing a hat an allegiance

SOLUTION:
Linda declared an allegiance to a man who was wearing a hat