Instruct: What is the sum of gold medals with a total of 12 medals and less than 4 bronze medals?
Output: SELECT SUM Gold FROM table WHERE Total = 12 AND Bronze < 4