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

### Instruction:
What is the highest number of gold medals won by a team that won fewer than 2 silver and fewer than 4 bronze medals?

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

### Response:
SELECT MAX Gold FROM table WHERE Silver < 2 AND Bronze < 4