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_24 (year INTEGER, draws VARCHAR, loses VARCHAR, wins VARCHAR)
  ### Question:
  What average Year has Losses 4, and Wins less than 18, and Draws greater than 1?
  ### Answer:
  SELECT AVG(year) FROM table_name_24 WHERE loses = 4 AND wins < 18 AND draws > 1