Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What year was the diesel fuel propulsion, with a length of 40', and numbers (quanity ordered) of 3701-3729 (29 buses), retired?

### Inputs:
table_name: table, columns: ['Make/ Model', 'Length', 'Year', 'Numbers (Quantity Ordered)', 'Fuel Propulsion', 'Year Retired']

### Response:
SELECT Year Retired FROM table WHERE Fuel Propulsion = diesel AND Length = 40' AND Numbers (Quantity Ordered) = 3701-3729 (29 buses)