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: Linda extended the man who was wearing the hat her hand

Output: Linda extended her hand to the man who was wearing the hat


Input: Consider Input: Bob roared her the instructions

Output: Bob roared the instructions to her


Input: Consider Input: Juan threw a man who was wearing a hat something


Output: Juan threw something to a man who was wearing a hat