Task: Program Execution
Input (English): D, x, 5865, 7639, w, v, 8897, X, L, 1327, 3655
Output (English): 1, 2, 5, 6, 8, 9