human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: NBR number, Year, Original operator, Class, Wheel arrangement, Road number, Location
###Question: Which class starts after 1939 and has a road number smaller than 3508?
gpt
SELECT Class FROM table WHERE Year > 1939 AND Road number < 3508