Question: What rank had more than 165 laps and a finish of 5?
SQL: SELECT rank FROM table_name_17 WHERE laps > 165 AND finish = "5"