Instruct: What is the highest rank a country with less than 3 gold, more than 2 silver, and less than 5 total medals has?
Output: SELECT MAX Rank FROM table WHERE Gold < 3 AND Silver > 2 AND Total < 5