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_4 (week INTEGER, result VARCHAR, attendance VARCHAR)
  ### Question:
  What was the average week of a game with a result of l 10-7 attended by 37,500?
  ### Answer:
  SELECT AVG(week) FROM table_name_4 WHERE result = "l 10-7" AND attendance < 37 OFFSET 500