Rewrite this sentence in a more formal manner while maintaining its meaning.
I didn't want to take the class.
I did not wish to take the class.
Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
Rewrite this sentence in a more formal manner while maintaining its meaning.

### Response:
I did not wish to take the class.