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: Alice groaned a man who was wearing a hat her thanks

Output: Alice groaned her thanks to a man who was wearing a hat


Input: Consider Input: Alice described the woman an idea

Output: Alice described an idea to the woman


Input: Consider Input: Mary gave a woman the book


Output: Mary gave the book to a woman