Task: Program Execution
Input (English): Z, 4089, J, 4965, 3561, c, 8871, W, e, 1875, d, z, R, 6717, 3321, 3167, 1263, 4541, 7275, 1727, P, 8175, 9375
Output (English): Z, J, c, W, e, d, z, R, P, 4089, 4965, 3561, 8871, 1875, 6717, 3321, 3167, 1263, 4541, 7275, 1727, 8175, 9375