Context: CREATE TABLE table_name_31 (laps INTEGER, time_retired VARCHAR)
Question: What is the top lap that had a tyre time?
Answer: SELECT MAX(laps) FROM table_name_31 WHERE time_retired = "tyre"