Task: Program Execution
Input (English): 1239, 5921, Y, j, R, p, 9019, k, Y, 7395, n, I, 8181, 8767, 7161, u, z
Output (English): 1239, 5921, 9019, 7395, 8181, 8767, 7161