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

### Instruction:
What was the average T score when the E score was larger than 9.6 and the team was from Spain?

### Inputs:
table_name: table, columns: ['Nation', 'T Score', 'A Score', 'E Score', 'Total']

### Response:
SELECT AVG T Score FROM table WHERE Nation = spain AND E Score > 9.6