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

### Instruction:
What is the average final with an all around greater than 19.35 and a total over 40?

### Inputs:
table_name: table, columns: ['Place', 'Nation', 'All Around', 'Final', 'Total']

### Response:
SELECT AVG Final FROM table WHERE All Around > 19.35 AND Total > 40