Task: Text to Code
Input (English): eq { hop { nth_argmin { filter_eq { all_rows ; locomotive type ; steam } ; withdrawn ; 1 } ; number } ; 1 }
Output (English): ordinal