CREATE TABLE table_14010 ("Rank" FLOAT, "Nation" TEXT, "Gold" FLOAT, "Silver" FLOAT, "Bronze" FLOAT, "Total" FLOAT)

How many bronze medals did the nation have that had less than 3 silver, 5 gold and ranked better than 31?
SELECT SUM("Bronze") FROM table_14010 WHERE "Silver" < '3' AND "Rank" < '31' AND "Gold" = '5'
SELECT SUM("Bronze") FROM "table_14010" WHERE "Gold" = '5' AND "Rank" < '31' AND "Silver" < '3'