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:
Maria whined a man who was from work a gripe

Ex Output:
Maria whined a gripe to a man who was from work


Ex Input:
Michael quoted a woman who was wearing a hat the passage

Ex Output:
Michael quoted the passage to a woman who was wearing a hat


Ex Input:
Juan bequeathed a man the money

Ex Output:

Juan bequeathed the money to a man