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 cabled a man who was wearing a hat something

Ex Output:
John cabled something to a man who was wearing a hat


Ex Input:
Mary furnished a team the news

Ex Output:
Mary furnished the news to a team


Ex Input:
Bob took a man wearing a hat a gift

Ex Output:

Bob took a gift to a man wearing a hat