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

### Instruction:
What is the average rank of a country with less than 13 bronze medals, a total of 11 medals, and more than 4 gold?

### Inputs:
table_name: table, columns: ['Rank', 'Nation', 'Gold', 'Silver', 'Bronze', 'Total']

### Response:
SELECT AVG Rank FROM table WHERE Bronze < 13 AND Total = 11 AND Gold > 4