Task: Program Execution
Input (English): M, 2543, e, q, 277, 7105, n, x, 1683, W, 8573
Output (English): M, e, q, n, x, W