user: ### NOW ANSWER:
Question: What is the lowest number of sheep and goats after 1931, with fewer than 2518 cows and more than 2604.8 horses?
Columns: ['Year', 'Total Horses', 'Working Horses', 'Total Cattle', 'Oxen', 'Bulls', 'Cows', 'Pigs', 'Sheep and Goats']
Types: ['real', 'real', 'text', 'real', 'real', 'text', 'real', 'real', 'real']
Sample row: [1927.0, 5056.5, '3900.1', 8374.5, 805.5, '…', 3852.1, 4412.4, 7956.3]
SQL:

assistant: SELECT MIN("Sheep and Goats") FROM "Table" WHERE "Year" > 1931.0 AND "Cows" < 2518.0 AND "Total Horses" > 2604.8;