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 shrieked the man who was from work some instructions

Ex Output:
John shrieked some instructions to the man who was from work


Ex Input:
Bob bequeathed a man from work the money

Ex Output:
Bob bequeathed the money to a man from work


Ex Input:
Michael alloted a woman who was wearing a hat two tickets

Ex Output:

Michael alloted two tickets to a woman who was wearing a hat