Table schema:
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?
SQL: SELECT MAX(bronze) FROM table_name_53 WHERE total < 82 AND nation = "san marino" AND gold < 3