Task: Program Execution
Input (English): Y, 1941, z, X, a, j, 5425, l, p, 9235, h, 8665, d, 9035, 8905, 1731, a, U, P, 3691, 8587, 4929, R
Output (English): 1941, 5425, 9235, 8665, 9035, 8905, 1731, 3691, 8587, 4929