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

### Instruction:
What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823?

### Inputs:
table_name: table, columns: ['Rank', 'Province', 'Population', 'Area', 'Density']

### Response:
SELECT MAX Rank FROM table WHERE Density < 376.37 AND Province = valverde AND Area > 823