Detect if the following sentence is written in passive or active voice.
I should have taken the exam.
The sentence is written in active voice.
Complete the following task based on the instruction and optional input provided.### Instruction:
Detect if the following sentence is written in passive or active voice.

### Input:
I should have taken the exam.

### Output:
The sentence is written in active voice.