Task: Program Execution
Input (English): 1957, r, d, 6847, 9541, 6227, 7619, P, 2125, 3, 3349, q, i, 463, 9907, 5903, 7421, a
Output (English): 1957, 6847, 9541, 6227, 7619, 2125, 3, 3349, 463, 9907, 5903, 7421