CREATE TABLE table_name_83 (total INTEGER, gold VARCHAR(255))
What is the total number of medals when there are 18 gold medals?
    
SQL: SELECT SUM(total) FROM table_name_83 WHERE gold = 18