Task: Program Execution
Input (English): M, Z, 2143, v, 2825, 4569, W, 5497, q, 215, R, k, b, R, 3859, a, J, p, G
Output (English): 2143, 2825, 4569, 5497, 215, 3859