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_20 (points INTEGER, lost VARCHAR, position VARCHAR, played VARCHAR)
  ### Question:
  How many points on average had a position smaller than 8, 16 plays, and a lost larger than 9?
  ### Answer:
  SELECT AVG(points) FROM table_name_20 WHERE position < 8 AND played = 16 AND lost > 9