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