Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What years did the person coach who had less than 82 wins and more than 24 losses?

### Inputs:
table_name: table, columns: ['Coach', 'Years', 'Wins', 'Losses', 'Ties']

### Response:
SELECT Years FROM table WHERE Wins < 82 AND Losses > 24