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

### Instruction:
What is the sum of Year, when Regional GVA is 6,584, and when Services is less than 5,277?

### Inputs:
table_name: table, columns: ['Year', 'Regional GVA', 'Agriculture', 'Industry', 'Services']

### Response:
SELECT SUM Year FROM table WHERE Regional GVA = 6,584 AND Services < 5,277