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_26 (total INTEGER, bronze VARCHAR, gold VARCHAR)
### Question:
What is the total number of medals won by nations that had 7 bronze medals and more than 18 gold medals?
### Answer:
SELECT SUM(total) FROM table_name_26 WHERE bronze = 7 AND gold > 18