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_45 (gold INTEGER, total INTEGER)
### Question:
What is the average amount of gold medals for a country with more than 12 total medals?
### Answer:
SELECT AVG(gold) FROM table_name_45 WHERE total > 12