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

### Instruction:
What is the sum of rank with years  1996–2012 and apps greater than 340?

### Inputs:
table_name: table, columns: ['Rank', 'Name', 'Years', 'Goals', 'Apps']

### Response:
SELECT SUM Rank FROM table WHERE Years = 1996–2012 AND Apps > 340