Instruct: What is the total number of medals won by nations that had 7 bronze medals and more than 18 gold medals?
Output: SELECT SUM Total FROM table WHERE Bronze = 7 AND Gold > 18