Task: Program Execution
Input (English): 4449, 2421, w, l, O, J, Z, z, P, s, 2225, 9399, g, 9559, 6447, 8589, x, 2961
Output (English): 4449, 2421, 2225, 9399, 9559, 6447, 8589, 2961