Instruct: What is the highest bronze for San Marino with less than 82 total and less than 3 golds?
Output: SELECT MAX Bronze FROM table WHERE Total < 82 AND Nation = san marino AND Gold < 3