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.

Input: Consider Input: Mary said the woman her goodbye

Output: Mary said her goodbye to the woman


Input: Consider Input: Mary shuttled the team the students

Output: Mary shuttled the students to the team


Input: Consider Input: Bob yelled the man wearing the hat something


Output: Bob yelled something to the man wearing the hat