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_17 (gold INTEGER, rank VARCHAR, silver VARCHAR)
### Question:
When rank is 7 and silver is less than 0, what is the total gold?
### Answer:
SELECT SUM(gold) FROM table_name_17 WHERE rank = "7" AND silver < 0