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

### Instruction:
What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5?

### Inputs:
table_name: table, columns: ['Final Rank', 'Skater', 'Rank in SP', 'Rank in FS', 'Total Score']

### Response:
SELECT AVG Rank in SP FROM table WHERE Rank in FS > 2 AND Final Rank > 5