Task: Program Execution
Input (English): J, 3485, W, 5335, D, 4539, 4403, R, 1037, x, z, 8309, O, g, g, 4423, 977, 5747, 7009, 5693, 9633, 7023
Output (English): 3485, 5335, 4539, 4403, 1037, 8309, 4423, 977, 5747, 7009, 5693, 9633, 7023