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_65 (gold INTEGER, nation VARCHAR, total VARCHAR)
  ### Question:
  What is the average gold medals Uzbekistan, which has less than 24 total medals, has?
  ### Answer:
  SELECT AVG(gold) FROM table_name_65 WHERE nation = "uzbekistan" AND total < 24