Task: Program Execution
Input (English): M, 9161, 8735, k, e, D, i
Output (English): M, k, e, D, i