Task: Program Execution
Input (English): 9435, m, 9703, 3415, 4473, g, R
Output (English): 9435, 9703, 3415, 4473