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

### Instruction:
What is Opponent, when October is less than 31, and when Game is greater than 7?

### Inputs:
table_name: table, columns: ['Game', 'October', 'Opponent', 'Score', 'Record']

### Response:
SELECT Opponent FROM table WHERE October < 31 AND Game > 7