question: What is the earliest year that has fewer than 3852.1 cows and 3900.1 working horses?
answer: SELECT MIN(year) FROM table_name_97 WHERE working_horses = "3900.1" AND cows < 3852.1
context: CREATE TABLE table_name_97 (year INTEGER, working_horses VARCHAR, cows VARCHAR)