what is the rank of a country with more than 2 gold, less than 5 silver, and less than 31 total medals?
none