###HUMAN: With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is?, ###ASSISTANT: SELECT number FROM table_name_15 WHERE builder = "baldwin locomotive works" AND works_number = 40864