Task: Program Execution
Input (English): 9881, m, 8487, 901, h, z, 8017, 5173, B, G, Q, i, G, 2415, x, 1829
Output (English): 9881, 8487, 901, 8017, 5173, 2415, 1829