What is the average number of gold medals won among participants that won less than 13 silver, less than 8 bronze, and more than 18 medals overall?
SELECT AVG Gold FROM table WHERE Silver < 13 AND Total > 18 AND Bronze < 8