Task: Program Execution
Input (English): 2829, 2233, 7389, s, 6171, 5437, a, J, 2467, 9, 9575, 7203, p, E, C, M
Output (English): 2829, 2233, 7389, 6171, 5437, 2467, 9, 9575, 7203