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.

Example Input: John batted the man a foul ball
Example Output: John batted a foul ball to the man

Example Input: John rowed a woman who was wearing a hat some goods
Example Output: John rowed some goods to a woman who was wearing a hat

Example Input: Bob sold the man wearing the hat a bike
Example Output:
Bob sold a bike to the man wearing the hat