Task: Program Execution
Input (English): J, 3669, 4717, m, s, 6609, d, 7743, 5391, 3181, E, w, 2997, C, 301, o, Q, R, 5357, m
Output (English): J, m, s, d, E, w, C, o, Q, R, m, 3669, 4717, 6609, 7743, 5391, 3181, 2997, 301, 5357