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_18 (total INTEGER, rank VARCHAR, county VARCHAR)
### Question:
Which Total has a Rank smaller than 3, and a County of cork?
### Answer:
SELECT MIN(total) FROM table_name_18 WHERE rank < 3 AND county = "cork"