user
Identify whether this sentence is written in active or passive voice.

Now complete the following instance -
Input: The ball was thrown by John.
Output:
assistant
The sentence is written in passive voice.