Task: Program Execution
Input (English): 6405, M, 2465, 2527, 1439, x, 4605, 8215, h, c, T, M, 9135, K, 6177, E, 6043, 1127, i, z, z, d, 5821
Output (English): 6405, 2465, 2527, 1439, 4605, 8215, 9135, 6177, 6043, 1127, 5821