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

### Instruction:
What was the sum of Revenue ($M), when the Debt as % of value was higher than 27, and the Operating income($m) was 77?

### Inputs:
table_name: table, columns: ['Rank', 'Team', 'Country', 'Value ($M)', 'Debt as %of value', '% change on year', 'Revenue ($M)', 'Operating income($m)']

### Response:
SELECT SUM Revenue ($M) FROM table WHERE Debt as %of value > 27 AND Operating income($m) = 77