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_54 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR)
### Question:
Name the least total with rank less than 7, gold more than 16 and bronze less than 29
### Answer:
SELECT MIN(total) FROM table_name_54 WHERE rank < 7 AND gold > 16 AND bronze < 29