Task: Program Execution
Input (English): 2495, R, Z, r, i, X, 9901, 5509, 8921, z, E, 7271, D, y, 3707, u, Y, B
Output (English): 2495, 9901, 5509, 8921, 7271, 3707