Task: Program Execution
Input (English): 3463, C, E, M, a, 1947
Output (English): C, E, M, a