CREATE TABLE table_name_32 (year_s__retired VARCHAR, serial_numbers VARCHAR)

What year were the retired serial numbers 27317 27336?
SELECT year_s__retired FROM table_name_32 WHERE serial_numbers = "27317–27336"
SELECT "year_s__retired" FROM "table_name_32" WHERE "27317–27336" = "serial_numbers"