Task: Program Execution
Input (English): f, 9873, 7923, 5493, 2221, M, 3421, k
Output (English): f, M, k, 9873, 7923, 5493, 2221, 3421