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.

Ex Input:
John barked the man from work some directions

Ex Output:
John barked some directions to the man from work


Ex Input:
Juan preached them a story

Ex Output:
Juan preached a story to them


Ex Input:
Bob taught a man the piece

Ex Output:

Bob taught the piece to a man