Schema: CREATE TABLE table_name_34 (rank INTEGER, country VARCHAR, total VARCHAR)
Question: What rank was Peru with a total greater than 3?
SQL: SELECT MAX(rank) FROM table_name_34 WHERE country = "peru" AND total > 3