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_37 (year INTEGER, finish VARCHAR, team VARCHAR)
  ### Question:
  Which Year has a Finish of 22, and a Team of swan?
  ### Answer:
  SELECT AVG(year) FROM table_name_37 WHERE finish = "22" AND team = "swan"