Instruct: With a works number of 40864 for the builder of Baldwin Locomotive Works, the number listed is?
Output: SELECT Number FROM table WHERE Builder = baldwin locomotive works AND Works number = 40864