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

### Instruction:
Which Seats up for election have an Election result larger than 8, and Staying councillors of 24?

### Inputs:
table_name: table, columns: ['Party', 'Previous council', 'Staying councillors', 'Seats up for election', 'Election result', 'New council']

### Response:
SELECT MAX Seats up for election FROM table WHERE Election result > 8 AND Staying councillors = 24