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_7 (rank INTEGER, lane VARCHAR, nationality VARCHAR)
  ### Question:
  What is the total average for Rank entries where the Lane listed is smaller than 4 and the Nationality listed is San Marino?
  ### Answer:
  SELECT AVG(rank) FROM table_name_7 WHERE lane < 4 AND nationality = "san marino"