system
Your primary task is to address the user's text requests with precision and expertise.
human
Change the voice of the given sentence from passive to active.

'The ball was thrown by John towards the goalpost.'
gpt
John threw the ball towards the goalpost.