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.

John distributed a team from work some pencils
John distributed some pencils to a team from work

Juan allocated a man who was wearing a hat something
Juan allocated something to a man who was wearing a hat

Bob quoted the man from work something

Bob quoted something to the man from work