Task: Program Execution
Input (English): 9431, 8113, f, e, 7837, 9081, 1987, 4007, 1961, m, M, 4665, 5117, 2929, d
Output (English): 9431, 8113, 7837, 9081, 1987, 4007, 1961, 4665, 5117, 2929