Task: Program Execution
Input (English): 2337, 9299, 8239, P, M, 5057, 4139, 4831, r, 5009, b, k, C
Output (English): 2337, 9299, 8239, 5057, 4139, 4831, 5009