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.

Maria hit a woman who was wearing a hat the ball
Maria hit the ball to a woman who was wearing a hat