human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Year, Start, Qual, Rank, Finish, Laps
###Question: Name the year for laps of 200 and rank of 24
gpt
SELECT Year FROM table WHERE Laps = 200 AND Rank = 24