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:
Alice groaned a man who was wearing a hat her thanks

Ex Output:
Alice groaned her thanks to a man who was wearing a hat


Ex Input:
John screamed her some news

Ex Output:
John screamed some news to her


Ex Input:
Mary alloted a man the bonus

Ex Output:

Mary alloted the bonus to a man