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_51 (long INTEGER, gain VARCHAR, loss VARCHAR)
  ### Question:
  Which average Long has a Gain smaller than 16, and a Loss smaller than 6?
  ### Answer:
  SELECT AVG(long) FROM table_name_51 WHERE gain < 16 AND loss < 6