Task: Program Execution
Input (English): 9249, O, 2165, X, V, P, a, 1055, T
Output (English): 2, 4, 5, 6, 7, 9