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: Juan said a man wearing a hat a prayer

Output: Juan said a prayer to a man wearing a hat


Input: Consider Input: Mary reimbursed the woman something

Output: Mary reimbursed something to the woman


Input: Consider Input: Michael declared a man a commitment


Output: Michael declared a commitment to a man