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_97 (total INTEGER, silver VARCHAR, gold VARCHAR)
  ### Question:
  What is the total medals for nation with more than 0 silvers and more than 0 golds?
  ### Answer:
  SELECT AVG(total) FROM table_name_97 WHERE silver > 0 AND gold > 0