Task: Program Execution
Input (English): J, 1549, 1857, 9661, J, 8635, d, 5375, D, E, L, 8623, 3557, 9983, U
Output (English): 1549, 1857, 9661, 8635, 5375, 8623, 3557, 9983