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_53 (bronze INTEGER, gold VARCHAR, total VARCHAR, nation VARCHAR)
### Question:
What is the highest bronze for San Marino with less than 82 total and less than 3 golds?
### Answer:
SELECT MAX(bronze) FROM table_name_53 WHERE total < 82 AND nation = "san marino" AND gold < 3