user: Question: What year was the Diesel fuel propulsion, with a length of 40', and numbers (quanity ordered) of 3701-3729 (29 buses), retired?
Columns: ['Make/ Model', 'Length', 'Year', 'Numbers (Quantity Ordered)', 'Fuel Propulsion', 'Year Retired']
Types: ['text', 'text', 'real', 'text', 'text', 'text']
Sample row: ['Flxible 53096 "New Look"', "40'", 1973.0, '4701-4740 (40 buses)', 'Diesel', '1994']
SQL:

assistant: SELECT "Year Retired" FROM "Table" WHERE "Fuel Propulsion" = 'Diesel' AND "Length" = '40''' AND "Numbers (Quantity Ordered)" = '3701-3729 (29 buses)';