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_7 (gold INTEGER, rank VARCHAR, bronze VARCHAR)
### Question:
What is the smallest number of gold medals corresponding to the total rank with more than 4 bronze medals?
### Answer:
SELECT MIN(gold) FROM table_name_7 WHERE rank = "total" AND bronze > 4