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:
Bob slung a man wearing a hat a bag

Ex Output:
Bob slung a bag to a man wearing a hat


Ex Input:
Mary furnished a team from work some forms

Ex Output:
Mary furnished some forms to a team from work


Ex Input:
Juan promised the man who was wearing the hat the vacation

Ex Output:

Juan promised the vacation to the man who was wearing the hat