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

### Instruction:
What was the lowest total number of horses that has a total cattle smaller than 6274.1, and a oxen smaller than 156.5, and a bulls of 40.0, and fewer than 3377 cows?

### Inputs:
table_name: table, columns: ['Year', 'Total Horses', 'Working Horses', 'Total Cattle', 'Oxen', 'Bulls', 'Cows', 'Pigs', 'Sheep and Goats']

### Response:
SELECT MIN Total Horses FROM table WHERE Total Cattle < 6274.1 AND Oxen < 156.5 AND Bulls = 40.0 AND Cows < 3377