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_52 (total INTEGER, nation VARCHAR, bronze VARCHAR)
  ### Question:
  What is the average Total, when the Nation is Sweden, and when the value for Bronze is less than 3?
  ### Answer:
  SELECT AVG(total) FROM table_name_52 WHERE nation = "sweden" AND bronze < 3