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

### Instruction:
What is the largest number of gold medals when the bronze medals is less than 49, and there is 22 silver medals, and the total is less than 60?

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

### Response:
SELECT MAX Gold FROM table WHERE Bronze < 49 AND Silver = 22 AND Total < 60