text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_97 (year INTEGER, working_horses VARCHAR, cows VARCHAR)
  ### 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