Rewrite the following sentence which contains a grammatical error.
The music that I enjoyed listen was classical.
The music that I enjoyed listening to was classical.
Complete the following task based on the instruction and optional input provided.### Instruction:
Rewrite the following sentence which contains a grammatical error.

### Input:
The music that I enjoyed listen was classical.

### Output:
The music that I enjoyed listening to was classical.