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_27 (week INTEGER, result VARCHAR, opponent VARCHAR)
  ### Question:
  Which Week has a Result of l 13-16 and an Opponent of at buffalo bills?
  ### Answer:
  SELECT AVG(week) FROM table_name_27 WHERE result = "l 13-16" AND opponent = "at buffalo bills"