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: Michael wrote the man who was wearing the hat a note

Output: Michael wrote a note to the man who was wearing the hat


Input: Consider Input: Alice described the woman an idea

Output: Alice described an idea to the woman


Input: Consider Input: Juan dictated a woman wearing a hat a book


Output: Juan dictated a book to a woman wearing a hat