Task: Program Execution
Input (English): M, 8493, 8961, d, 6917, 6561, J, 4657, X, 6287, 4319, 2257, p, 5289, u, 8419
Output (English): M, d, J, X, p, u, 8493, 8961, 6917, 6561, 4657, 6287, 4319, 2257, 5289, 8419