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_19 (elected INTEGER, incumbent VARCHAR, district VARCHAR)
  ### Question:
  What year was Incumbent Ed Towns elected with a district smaller than 10?
  ### Answer:
  SELECT AVG(elected) FROM table_name_19 WHERE incumbent = "ed towns" AND district < 10