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_83 (total INTEGER, gold VARCHAR)
  ### Question:
  What is the total number of medals when there are 18 gold medals?
  ### Answer:
  SELECT SUM(total) FROM table_name_83 WHERE gold = 18