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

### Instruction:
What is the highest total medals a team with less than 15 gold, less than 5 bronze, and a rank larger than 10 has?

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

### Response:
SELECT MAX Total FROM table WHERE Gold < 15 AND Bronze < 5 AND Rank > 10