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 exhibited him a painting

Output: Linda exhibited a painting to him


Input: Consider Input: Mary snapped the woman the ball

Output: Mary snapped the ball to the woman


Input: Consider Input: Juan confessed the man who was wearing the hat the transgression


Output: Juan confessed the transgression to the man who was wearing the hat