Task: Program Execution
Input (English): w, 1477, M, 9511, 4529, l, 1027, q
Output (English): w, M, l, q, 1477, 9511, 4529, 1027