Table schema:
CREATE TABLE table_name_65 (total_horses INTEGER, cows VARCHAR, bulls VARCHAR, total_cattle VARCHAR, oxen VARCHAR)

Question: 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?
SQL: SELECT MIN(total_horses) FROM table_name_65 WHERE total_cattle < 6274.1 AND oxen < 156.5 AND bulls = "40.0" AND cows < 3377