user: ### NOW ANSWER:
Question: What is the highest bronze for san marino with less than 82 total and less than 3 golds?
Columns: ['Nation', 'Gold', 'Silver', 'Bronze', 'Total']
Types: ['text', 'real', 'real', 'real', 'real']
Sample row: ['Cyprus', 32.0, 30.0, 20.0, 82.0]
SQL:

assistant: SELECT MAX("Bronze") FROM "Table" WHERE "Total" < 82.0 AND "Nation" = 'san marino' AND "Gold" < 3.0;