user: ### NOW ANSWER:
Question: What rank was peru with a total greater than 3?
Columns: ['Rank', 'Country', 'Miss United Continent', 'Virreina', '1st RU', '2nd RU', '3rd RU', '4th RU', 'Semifinalists', 'Total']
Types: ['real', 'text', 'real', 'real', 'real', 'real', 'real', 'real', 'real', 'real']
Sample row: [1.0, 'Dominican Republic', 2.0, 1.0, 0.0, 0.0, 0.0, 0.0, 2.0, 5.0]
SQL:

assistant: SELECT MAX("Rank") FROM "Table" WHERE "Country" = 'peru' AND "Total" > 3.0;