Task: Program Execution
Input (English): X, r, M, 2979, K, 8305, 1847, C, 5231, 1663, c, 9775, 2251, 1477, d, u, 3279, x, 9515, 8035, 957
Output (English): X, r, M, K, C, c, d, u, x, 2979, 8305, 1847, 5231, 1663, 9775, 2251, 1477, 3279, 9515, 8035, 957