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:
Juan mailed a woman the letter

Ex Output:
Juan mailed the letter to a woman


Ex Input:
Maria demonstrated a man from work her goodwill

Ex Output:
Maria demonstrated her goodwill to a man from work


Ex Input:
Juan presented the man who was wearing the hat a photograph

Ex Output:

Juan presented a photograph to the man who was wearing the hat